Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SimpleBowl Demo  (Read 1948 times)

0 Members and 1 Guest are viewing this topic.

bongobl

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
SimpleBowl Demo
« on: August 29, 2017, 08:36:21 pm »
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/SimpleBowl

To see it in action, run the demo exe.

Let me know what you guys think. I'm hoping to get a code review sometime.