Skip to content

ruiined/bowling-challenge-ruby

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bowling Challenge in Ruby

Tests

Overview

Ruby challenge provided by Makers

Bowling score calculations

100% test coverage

How to Install

  1. clone this git directory
  2. cd bowling-challenge-ruby
  3. bundle

How to Run

  1. irb -r './lib/game.rb'
  2. game = Game.new to start a new game
  3. game.roll(num_of_pins) until you reach 'game over'
  4. game.total_score to count your final score, or anytime during the game

How to Test

  1. rspec
  2. rubocop

Diagram

Bowling Scorecard Diagram

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Ruby 100.0%