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

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




PostPosted: Fri May 21, 2004 9:37 am   Post subject: Bowling game help

Need help for math for 10 pin bowling game, any sugestions/
Sponsor
Sponsor
Sponsor
sponsor
templest




PostPosted: Fri May 21, 2004 9:49 am   Post subject: (No subject)

what do you mean math? that's a pretty vague question.

Do you need help making the ball look like it's going at the right speed? the speed/distance/rotation/ect of falling pins? be specific. Confused
Agent_b




PostPosted: Fri May 21, 2004 10:22 am   Post subject: (No subject)

The scoring
poly




PostPosted: Fri May 21, 2004 11:52 pm   Post subject: (No subject)

what in the hell...the scoring? I thought you bowled, by now you should have the scoring down? Rolling Eyes
Anyway your gonna have to leave a bigger description of what you want to accomplish
MyPistolsIn3D




PostPosted: Sat May 22, 2004 4:54 pm   Post subject: (No subject)

Ok , heres the deal Bobby. Knock down the pins in one shot = a strike. Knock them down in two shots = a spare.....
poly




PostPosted: Sat May 22, 2004 5:33 pm   Post subject: (No subject)

haha stew has it right, silly me hehehehehe Laughing
Agent_b




PostPosted: Sat May 22, 2004 6:43 pm   Post subject: Lol

Yea, but i mean like if i get a strike and 2 more the first one is 30points, if i get a spare it's 20, and if i get 7-8 or w/e its 10+number, so idk really u kno im dumb lol
Pickles




PostPosted: Sat May 22, 2004 6:58 pm   Post subject: ...

Here you go you handsome devil you

http://www.topendsports.com/bowlingscience/scoring.htm
Sponsor
Sponsor
Sponsor
sponsor
MyPistolsIn3D




PostPosted: Sun May 23, 2004 12:31 pm   Post subject: (No subject)

Just have variables for each shot

code:
var shot1 : int
var shot2 : int
var shot3 : int


Then input the scorre into each variable and at the end calculate final score

code:
put "Your score is:", (shot1 + shot2 + shot3)


And if you have lotsa shots put them in an array.
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  [ 9 Posts ]
Jump to:   


Style:  
Search: