My student is using the counter pattern in an if statement to update the score variable. The scoreboard appears on the screen, but the score doesn’t appear to update when the condition is met. Any ideas?
Line 68 should be text("Score: "+ score, 20, 20, 200, 100);
Currently it is just text(“Score:”, 20, 20, 200, 100);
which just prints the string “Score”.
3 Likes
Thank you very much!
2 Likes
You are welcome!