A game consists of ten frames. Frame 1-9 are composed of two rolls. Frame 10 can be composed of up to three rolls depending on if the first rolls in the frame is a strike or a spare.
The game has 2 inputs for each roll and it shows the current round and the score (and the previous score for all rounds).
If there are input errors : you will get an error message when you click submit. The game ends after 10 rounds. π
Run npm start
and navigate to http://localhost:4200/
.
Run npm run build
to build the project. The build artifacts will be stored in the dist/
directory.
Use the npm run build-prod
command for a production build.
Run npm run test
to execute the unit tests.
Run npm run test-single-run
to execute the unit tests once.