for: CIS700, Emerging Technologies (Summer II, 2007)
Description: This game of craps is a dice game played
by two players, you and the computer. Whoever is
designated as the 'shooter' tosses the pair of dice.
If the sum of the dice is 7 or 11, the shooter wins
the game. If the sum is 2, 3, or 12, the opponent
wins. Otherwise, the sum is designated as the "point",
to be matched by another toss. So if neither player has
won on the first toss, then the dice are tossed repeatedly
until either the point or a 7 comes up. If a 7 comes up
first, the opponent wins. Otherwise, the shooter wins when
the point comes up.