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

Username:   Password: 
 RegisterRegister   
 Hockey program trouble
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
the-bird




PostPosted: Sun Apr 25, 2004 11:08 am   Post subject: Hockey program trouble

Well this is the program, hopefully you can help me. I cant seem to get it right.

It has to be a program of a hockey game with two teams, a red team and a blue team. There should be a red and blue puck and a red and blue net on each side of a hockey rink.The pucks are suppose to shoot from their sides and bounce within the rink into the opposing net. The pucks should be released from random areas on its own side. If the puck scores then it should count the points by each team, first to 5 wins.

The part im having trouble with is how am i going to make the pucks bounce off a rink that i have designed and bounce off eachother when they collide. Another is that i dont know how to make the program count the points of the two teams when the puck enters the net and displaying this info to the user.

Thanks Alot I'd really Appreciate it



turing project.t
 Description:

Download
 Filename:  turing project.t
 Filesize:  990 Bytes
 Downloaded:  203 Time(s)

Sponsor
Sponsor
Sponsor
sponsor
Paul




PostPosted: Sun Apr 25, 2004 11:13 am   Post subject: (No subject)

Since u don't have alot of colors u could use whatdotcolor for collision. And I don't see any nets lol. You could use locate to print out the score everytime some one scores on the top. The net would be the same as a box, check if the puck is in the box, if it is, then restart and add one to score.
AsianSensation




PostPosted: Sun Apr 25, 2004 1:56 pm   Post subject: (No subject)

Double posting will not help you get more results from people. Locked.
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: