Skip to content

Instantly share code, notes, and snippets.

@BrandonKlotz
Created April 3, 2023 17:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BrandonKlotz/3265911c46ba35452d8e617c0065eb59 to your computer and use it in GitHub Desktop.
Save BrandonKlotz/3265911c46ba35452d8e617c0065eb59 to your computer and use it in GitHub Desktop.
game = Game.new
game.roll(1)
game.roll(4)
game.roll(4)
game.roll(5)
game.roll(6)
game.roll(4)
game.roll(5)
game.roll(5)
game.roll(10)
game.roll(0)
game.roll(1)
game.roll(7)
game.roll(3)
game.roll(6)
game.roll(4)
game.roll(10)
game.roll(2)
game.roll(8)
game.roll(6)
puts game.score
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment