Problem with boolean changing to false randomly

? I‘m 95% sure that game will be set to false if you press any key other than ‚p‘…

Your Code goes like this :

Any Key is pressed ->
Check if the key is P ->
If not, set Game to false, Score to 0, setup() and cursor(). 
2 Likes