I’m making a spelling game and trying to check the word for correctness.
when breaking down the correct spelling and incorrect spelling of the word with GetCharacterArrayFromString
With a for each loop
On number one there is an infinite loop happening. I’m comparing two arrays and if there is a letter missing (like a hole in the array for the incorrect array)
on the right, the E at index 1 is missing from the incorrect array, on the left, and that throws off the array. So I made some logic for when a letter is missed insert an array index at that index. but only if the array’s length on tested word instance array is less than incorrect character array It works at first but if you input 1 letter or 2 it puts you into an infinite loop. Any suggestions?
Another problem, second box.
Setting the colors doesn’t do what is set. When it’s true the color looks like its faded, and when false it’s back instead of red
Stepping through the debugger it sets the red color so little confused