This is a text-based Craps game written in Ruby.
git clone git://github.com/enriquez/craps.git cd craps ./bin/craps
Once the game is started you can run one of the following commands to play.
See how much money you have. You start with $100.
See what the current point is.
bet (amount) on the (betting area)
Make a bet. For example:
bet 10 on the pass line. Currently,
pass line and
dont pass are the only betting areas.
Roll the dice. You can also roll by just hitting enter without entering a command.
Ends the game.
exit does the same.
This game isn’t very fun with only two betting areas, so there are obviously plans to build more once I feel comfortable with the architecture.