Computer Science Canada pong score help |
Author: | funnyface43 [ Sun Apr 07, 2013 6:31 pm ] | ||
Post subject: | pong score help | ||
What is it you are trying to achieve? I am trying to get the score to stop after one of the players gets ten points and make it show a game over screen. What is the problem you are having? After I clear the screen it still shows the paddles and the ball. Describe what you have tried to solve this problem I have tried to make the paddles the same color as the background. Post any relevant code (You may choose to attach the file instead of posting the code if it is too long) <Answer Here>
Please specify what version of Turing you are using <Answer Here> |
Author: | Nathan4102 [ Sun Apr 07, 2013 7:08 pm ] |
Post subject: | RE:pong score help |
If a player gets to 0, break out of the loop using exit, clear screen, and display whatever you need to display. |
Author: | funnyface43 [ Sun Apr 07, 2013 7:22 pm ] |
Post subject: | RE:pong score help |
Thanks, it works! |