Yahtzee
by T Mullrooney

Yahtzee is based on the traditional dice game of the same name. Two players
take turns to throw five dice up to three times each. After each throw any
(or all) of the dice may be "held". The aim is to get various combinations
of numbers which then score points as shown below. The winner of the game is
the player who scores the highest total points. (It's easier to play than to
explain!)

Running the application installs an icon on the icon bar. Clicking Menu over
this icon gives a menu with the usual Info and Quit options. Clicking Select
over the icon opens the main Yahtzee window in which the game is played.

Clicking Menu over the window brings up a menu allowing you to choose
whether each opponent is played by a player or by the computer. This can be
changed even during the course of a game.

To play the game, the dice must be rolled by clicking over the ROLL icon.
After a while the display will stabilise and you will see the results of the
throw. To hold any of the dice for the second or third throws, click on the
HOLD icon for that die, which will turn red to show that it is held.

After three throws, the computer will assess the possible scores for each
combination of the dice and display them against the relevant entry in the
upper part of the table. Clicking over one of the displayed scores then
registers that score against the entry, and that entry is now frozen out of
the game and cannot be selected again. The object of the game is to fill the
scoreboard round by round, using your skill and judgement to decide where to
place each individual result. The scores are calculated as follows:

      Top Section
      -----------
Score = total of dice of the same number

      Bottom Section
      --------------
Three of a Kind.   = Total of all dice (if three dice are the same number)
Four of a Kind.    = As above but four dice of the same number
Full House.        = 25 (Three of one number, two of another)
Short Run.         = 30 (At least four dice with consecutive numbers)
Long Run.          = 40 (All five dice numbered consecutively)
Yahtzee            = 50 (All five dice of the same number)
Chance             = Total of all dice
 
In addition a bonus of 35 is added if the total of the top section is 63 or
more. This can be obtained by throwing three dice of each number.



