Hello everyone, thanks for your time in advance.
I have a project I'm working on with a team and we are stumped on a few features.
The concept of the game is that the player must unjumble scrambled words displayed by typing the correct word in it's proper order. Example being that the image displayed is "TAC" but the player must type "CAT" to progress.
The problem I'm having isn't with understanding that C, A, and T were pressed to advance, it's the order of letters I'm struggling with in the code. With my current code, players could type TAC or ACT and it will think the player still typed CAT. I need the program to only allow the order of the word CAT as C, A, T to progress to the next jumbled word.
Does the solution involve strings and arrays? I'm stumped, guys!
Any help would be greatly appreciated!