Skip to content

TimRobinson1/bowling-challenge

 
 

Repository files navigation

Bowling Challenge

The Task

Count and sum the scores of a bowling game for one player (in JavaScript).

A bowling game consists of 10 frames in which the player tries to knock down the 10 pins. In every frame the player can roll one or two times. The actual number depends on strikes and spares. The score of a frame is the number of knocked down pins plus bonuses for strikes and spares. After every frame the 10 pins are reset.

Usage

Testing

In order to run the Jasmine tests, run the following code:

git clone https://github.com/TimRobinson1/bowling-challenge.git
cd bowling-challenge
open SpecRunner.html

Playing

Run open index.html on the command line and start bowling!

About

Calculate Scores for Ten Pin Bowling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 95.0%
  • HTML 4.1%
  • CSS 0.9%