Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 pong score help
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
funnyface43




PostPosted: 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>

Turing:


<Add your code here>



Please specify what version of Turing you are using
<Answer Here>



Pong Game.t
 Description:

Download
 Filename:  Pong Game.t
 Filesize:  4.56 KB
 Downloaded:  53 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Nathan4102




PostPosted: 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.
funnyface43




PostPosted: Sun Apr 07, 2013 7:22 pm   Post subject: RE:pong score help

Thanks, it works!
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 3 Posts ]
Jump to:   


Style:  
Search: