Computer Science Canada Programming C, C++, Java, PHP, Ruby, Turing, VB   Username:   Password: Wiki   Blog   Search   Turing   Chat Room  Members
Bowling game help
Author Message
Agent_b

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

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

templest

Posted: 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.
Agent_b

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

The scoring
poly

Posted: 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?
Anyway your gonna have to leave a bigger description of what you want to accomplish
MyPistolsIn3D

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

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

haha stew has it right, silly me hehehehehe
Agent_b

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

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

Here you go you handsome devil you

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

Posted: 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: All Posts1 Day7 Days2 Weeks1 Month3 Months6 Months1 Year Oldest FirstNewest First

Page 1 of 1  [ 9 Posts ]
 Jump to:  Select a forum  CompSci.ca ------------ - Network News - General Discussion     General Forums   -----------------   - Hello World   - Featured Poll   - Contests     Contest Forums   -----------------   - DWITE   - [FP] Contest 2006/2008   - [FP] 2005/2006 Archive   - [FP] 2004/2005 Archive   - Off Topic     Lounges   ---------   - User Lounge   - VIP Lounge     Programming -------------- - General Programming     General Programming Forums   --------------------------------   - Functional Programming   - Logical Programming   - C     C   --   - C Help   - C Tutorials   - C Submissions   - C++     C++   ----   - C++ Help   - C++ Tutorials   - C++ Submissions   - Java     Java   -----   - Java Help   - Java Tutorials   - Java Submissions   - Ruby     Ruby   -----   - Ruby Help   - Ruby Tutorials   - Ruby Submissions   - Turing     Turing   --------   - Turing Help   - Turing Tutorials   - Turing Submissions   - PHP     PHP   ----   - PHP Help   - PHP Tutorials   - PHP Submissions   - Python     Python   --------   - Python Help   - Python Tutorials   - Python Submissions   - Visual Basic and Other Basics     VB   ---   - Visual Basic Help   - Visual Basic Tutorials   - Visual Basic Submissions     Education ----------- - Student Life   Graphics and Design ----------------------- - Web Design     Web Design Forums   ---------------------   - (X)HTML Help   - (X)HTML Tutorials   - Flash MX Help   - Flash MX Tutorials   - Graphics     Graphics Forums   ------------------   - Photoshop Tutorials   - The Showroom   - 2D Graphics   - 3D Graphics     Teams ------ - dTeam Public

 Style: Appalachia blueSilver eMJay subAppalachia subBlue subCanvas subEmjay subGrey subSilver subVereor Search: