Bowling score calculator with Java
Clone this repository and use the following methods within Game.java:
- role(int pins) - to roll a ball one time.
- When you're done - use getScore() to calculate your score.
- Support single player only
- Each game, or "line" of bowling, includes 10 turns, or "frames" for the bowler.
- In each frame, the bowler gets up to two tries to knock down all the pins.
- The game score is the total of all frame scores. -This code doesn't include UI
TestNG unit tests are attached to test folder.