In the statements below I'm trying to let the user add a number to their "guess". I've used keyPressed==s to get to state 2.
The problem is that when I press s to get to state2, the s becomes the first digit of my guess. Is there a way to start state 2 after the s is processed or somehow ignore the letter s? Any help is much appreciated.