/bowling

Java implementation of scoring a Ten pin bowling game.

Primary LanguageJava

bowling Build Status

Java implementation of scoring a [Ten pin bowling] (https://en.wikipedia.org/wiki/Ten-pin_bowling) game. 🎳

Input for program must be numbers. Spare is represented by number of knocked down pins. Strike is represented by number 10.
Strike: 10
Spare: 6 4

Examples of input:
10 10 10 10 10 10 10 10 10 10 10 10
5 0 7 3 3 3 9 0 1 7 7 2 3 0 10 10 9 1 10