Skip to content

kkavita92/bowling-challenge

 
 

Repository files navigation

Bowl'd Away

Home Page

How To Play

  • Clone the repo
  • Copy full path of index.html within repo
  • Run in your favourite browser (Chrome, I hope)
  • Get, set and BOWL

Description

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.

Rules

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

Screenshots

Mid-game Perfect game

My Approach

User Stories

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.

About

Calculate Scores for Ten Pin Bowling

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 97.6%
  • HTML 1.6%
  • CSS 0.8%