0
How can I check the button text?
The point of the game is to switch the letters until it arranges a single word, in this case “sailboat”. How can I check to see if the text equals the right sequence? https://code.sololearn.com/WTtvrA1WW3zM/?ref=app
3 Réponses
+ 1
flag?
0
There is more way to do this.. First one that i think its store a flag that describe if n-th button contain right text. Then you have to store an array of this flag and loop on it every time that an button is pressed and if all flag are true, then all text is correct