tanx, well here are the basics of how the algorithm should work
1, a complete game consists of 10 frames.
2, each player tries to knock down 10 pins in each frame
3. you are allowed to bowl 2 ballsin each frame.
exceptions:
a) if you knock down all the pins on the first ball, you wont need the second
b) if you score a strike in the 10th frame, you are entitled to to 2 bonus balls.
4, if you knock down all the pins on the first ball, you have scored a strike ( indicated with a x ) and have scored a bonus for that frame. your bonus is the number of pins you knock down on the next 2 balls bowled. your score is 10 ( for the strike) plus the bonus pins on the next 2 balls bowled
5, if you knock down all the pins with 2 balls you get a, you have scored a apare (indicated with a / ) and earned a bonus for that frame. your bonus is the number of pins you knock down with the first ball in the next frame. your score will be 10 (for the spare) plus the bonus pins on the next ball.
6. if you fail to knock down all the ins in a frame, your score is the actual number of pins knocked down
the teach say's it needs to be done in vb 6 and needs to allow the user to type in there scores and the program calculates it and displays it in the frames, (same as the bowling alley ones do with the little boxes)
any help/tutorials e.t.c much appretiated
cheers johnny.