Zonk Rules

The game of Zonk uses 5 dice. Each time that you roll the dice you mustsave out at least one die that has point value. You may roll the remaining dice until you roll the dice and do not come up with any points.

Points are derived from the dice in the following ways:

	Rolling a 5 is worth 50 points
	Rolling a 1 is worth 100 points
        Rolling a 3 of the same number is worth 100 x n points
          (3 5's is worth 500, 3 3's is worth 300,
          but 3 1's is worth 1000)
        Rolling a straight (1-2-3-4-5) or (2-3-4-5-6) is worth 1500 points
	Rolling a 5 of the same nubmer is worth 1000 x n points
          (5 5's is worth 5,000, 5 3's is worth 3,000,
          but 5 1's is worth 10,000)
If you roll and do not get any points you lose any points that you have accumulated this turn (i.e. the points that you have collected so far this turn are subtracted from your total score). If you use all five dice to generate points, you can through them all again. You may choose to stop rolling the dice and collect your points at any time.

Colors derived from the dice signify the following:

 
   
Blue Color signifys Rolled dice that have/has given you points
Yellow Color signifys Previously Rolled dice that gave you points
Green color signifys Currently Rolled dice

The program is written in java
http://www.andrews.edu/~orwenyo/anthem/rules.html