/farkle

A ruby program that mimics interactive Greed Game (https://en.wikipedia.org/wiki/Farkle)

Primary LanguageRuby

Greed Game

The game is an interactive Greed Game with instructions and prompts included. Rules for the game are in GREED_RULES.txt file.

To execute the ruby program and play the game, run the following command:

$ ruby greed_game.rb

Testing

To install the required gems, run $ bundle install

For executing the specs (unit testing), execute the following command:

$ bundle exec rspec --format documentation --color

On completion, the following output is obtained after successfully passing each test:

rpsecs passing