I am creating a game called scavenger and i need help adding score to the first part of the program! It is under the games tab if you search games in the search bar.
I assume you want your program to work like this
1. Set score to zero
2. Generate a "X" on the screen
3. Player moves to the "X"
4. Add one to score
5. Goto step 2
Try remodeling the program to follow this format
Set score to -1 Set the starting player and "X" coordinates Set a variable to show if the game is still being played (lets say G) to 0 Repeat until the game ends (Repeat G) generate "X" Score+1 Display the Score? Repeat until (A=U and B=V) or the user presses the MODE button (quit) move the player if the user pressed Mode, set G to 1 End End Tell the user they did a great job and tell them what score they got
There are some pretty, lets say interesting, things going on here, but it works and keeps the program fairly simple.
Have fun coding.
Thank you so much! I have tried countless times to add a score. None of them have worked though. If you want to help even more with the program feel free to edit the actual page!