Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A console app for the dice game Greed

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 bin
Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 .gitignore
Octocat-spinner-32 README.markdown
Octocat-spinner-32 Rakefile
README.markdown

Greed Dice Game

This game is played in the console by running bin/greed in the root of this project. The rules can be found here

How to start the game

  1. Run bin/greed
  2. Select at least 2 players
  3. If you selected any human players you'll be asked if you want to keep rolling. Just say "y" or "n"

Plans

  • Game should keep going if there is a tie for first
  • Make the robot smarter
  • Automatically find players in player directory to make them selectable.
  • Build a rake task to create a skeleton for a player. Allow people to implement their own keep_rolling? algorithm and have them duke it out against each other by simulating the game.

Credits

The UI class was taken and modified from Ryan Bates' ruby-warrior

The idea and the DiceSet class credit goes to Edge Case's ruby_koans

Something went wrong with that request. Please try again.