This is a solution to the Bowling Game Kata.
Here we have 3 folders:
BowlingGame
folder contains the c# implementation of the solutionsBowlingGame.Tests
folder contains the unit testsdiagrams
folder contains diagrams relating to the solution, such as UML diagram
Prerequisite: The machine running the application should have .NET 6.0 (or above) installed.
To run the application:
- clone the repository to your computer
- then navigate to the
BowlingGame
folder (withcd
command or otherwise) - then run the following command
dotnet run
The application will:
- Prompt the user to input a number, representing the number of pins knocked down by rolling a bowling ball through the lane
- Update the "score table" to include the user input number, following the "rule of bowling" (see Bowling Game Kata)
- When all 10 frames were completed with no more bonus rolls, print the "game completion message" with the final score. For example: