- Clone the repo
- Copy full path of
index.html
within repo - Run in your favourite browser (Chrome, I hope)
- Get, set and BOWL
Bowl'd Away counts and sums the scores of a bowling game for one player (in JavaScript). Click buttons to generate 'rolls' and your score is returned to you.
Bowl'd Away aims to simulate as much of the bowling scoring experience as possible. This means 'X' for strikes, '/' for spares and a realistic bowling scoresheet.
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.
More about ten pin bowling here: http://en.wikipedia.org/wiki/Ten-pin_bowling
As a bowler,
So that I can keep track of my score while bowling,
I want to be able to log the scores of each roll I play.
As a bowler,
So that I can see how much I have to roll to win,
I want the scoresheet to be updated after each roll.
As a bowler,
So that I can see if I have beat my friends or not,
I want to be able to see a final score at the end of the game.
As a bowler,
So that I can see if I have beat my friends or not,
I want to be able to see a final score at the end of the game.
As a bowler,
So I don't accidentally enter an invalid score,
I want the buttons to be updated to reflect the pins left after each frame.
As a bowler,
So that I have a realistic bowling experience,
I want spares(/) and strikes(X) to be displayed in correct form.
As a bowler,
So that I can keep my bowling-addiction going,
I want to be able to start a new game whenever I want.