/bowling

Calculate bowling game score

Primary LanguageRuby

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