- A game is composed of 10 frames.
- The goal for each frame is to knock down 10 pins.
- For frames 1 to 9 each player gets to bowl twice (unless a strike is made).
- Players achieve a strike when they clear all 10 pins in a frame on the first bowl.
- Players achieve a spare when they clear all 10 pins using both bowls
- Spare frames have the next score applied as a bonus.
- Strike frames have the next two scores applied as a bonus.
- On the last frame, if a strike is made, two bonus bowls are allowed.
- On the last frame, if a spare is made, one bonus bowl is allowed.
- The game ends when all frames are played and all pending bonuses are resolved.
edwardandress / bowling_challenge Goto Github PK
View Code? Open in Web Editor NEWA model of ten pin bowling scoring in JS