Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 256 Bytes

readme.md

File metadata and controls

32 lines (23 loc) · 256 Bytes

Bowling game

Play the game

run:

$ irb

Load the file:

load './bowl.rb'

Than create the game

game = Game.new

Roll the ball

game.roll 3

3 refers to 3 pins down

View the scores

game.score