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

Username:   Password: 
 RegisterRegister   
 Basic Pong Game Score Card
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
theturingrookie




PostPosted: Thu Jun 18, 2015 11:19 am   Post subject: Basic Pong Game Score Card

What is it you are trying to achieve?
To keep track of score in pong


What is the problem you are having?[/size
i can't seem to get track of the score. I made an if statement that if the y variable of the ball touches maxy then it is a point for the other player.


[size=14]Describe what you have tried to solve this problem

<Answer Here>


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>
Sponsor
Sponsor
Sponsor
sponsor
Insectoid




PostPosted: Thu Jun 18, 2015 3:53 pm   Post subject: RE:Basic Pong Game Score Card

Well first of all, maxy is the top of the screen. Doesn't the ball have to touch the left or right sides to score a point?
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  [ 2 Posts ]
Jump to:   


Style:  
Search: