jain-anshu / bowling

Calculate bowling game score

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README

This is a an app to enter and calculate score of a several games of bowling. The final score for the game will be shown after all the 10 frames are entered for each game.

Ruby version - ruby 3.2.0

Database creation

  • rails db:create
  • rails db:migrate db:test:prepare

Running the app

Frame 10 Screen of Last Frame

Display the Score Screen of Last Frame

How to run the test suite

  • rspec /Users/mk/apr/bowling/test/models/roll_spec.rb

  • rspec /Users/mk/apr/bowling/test/models/game_spec.rb

To do

  • Display all 10 frames and their scores at the end ( not just the final score)
  • Add client side validations
  • Add more specs
  • Fix all the linting issues

About

Calculate bowling game score


Languages

Language:Ruby 81.9%Language:HTML 14.1%Language:JavaScript 2.5%Language:CSS 1.5%