In the game of "craps" a player throws a pair of dice. If the sum of the dice
on the faces of the pair of dice on the first toss is 7 or 11 the player
wuns. If this sum is 2, 3, or 12, the player loses. If he tosses a 4, 5, 6,
8, 9, or 10 this sum is called the point. The player continues rolling until he
makes his point, and wins, or throws a 7, and loses.
This a pplet simulates the game. To use it the player must enter a deposit
and then click enter. The deposit must be a positive integer. He must also
enter the size of his bet, an integer. The bet can be left at the same size
for all games, provided it is smaller than the net. It can also be changed
before the first roll of any game.