
-----------------------------------
krashnna
Wed Jun 10, 2015 4:18 pm

Need some advice for my pong game please :)
-----------------------------------
What is it you are trying to achieve?
To get some help with my game!


What is the problem you are having?
Putting a max score limit on my game


Describe what you have tried to solve this problem
Not sure where to start


Post any relevant code (You may choose to attach the file instead of posting the code if it is too long)
----
Please specify what version of Turing you are using


-----------------------------------
Insectoid
Wed Jun 10, 2015 7:42 pm

RE:Need some advice for my pong game please :)
-----------------------------------
What do you want the game to do when the score limit is reached? There's a few different approaches. You could simply exit the loop using the 'exit when' command, or you could have the game restart, which requires you to reset all variables to their initial state and return to the top of the program, or whatever you want. Ultimately it comes down to detecting if the score limit is reached using either an if statement or an exit when statement and controlling the flow of the program when that statement returns true.
