Hi guys.
Lately, I wrote a simple API called SimpleBowl which handles all the logic behind bowling score keeping. This will allow developers writing a bowling app to spend more time on the dynamics of the game itself such as physics, appearance, style, etc without having to deal with the logistics of score keeping.
They would just call bowlingGame.throwBall(int) for example again and again specifying the number of pins knocked for each throw and the API takes care of the rest.
I know this sounds easy, but the API also contains fields for each cell on a bowling score board displaying an "X", a "/", a number or nothing accordingly, while also handling invalid input.
Heres the repo
https://github.com/bongobl/SimpleBowlTo see it in action, run the demo exe.
Let me know what you guys think. I'm hoping to get a code review sometime.