This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 21 Game - an example in Ruby for Rosetta Code. | |
GOAL = 21 | |
MIN_MOVE = 1 | |
MAX_MOVE = 3 | |
DESCRIPTION = " | |
*** Welcome to the 21 Game! *** | |
21 is a two player game. | |
Each player chooses to add 1, 2 or 3 to a running total. |