The game of craps is a dice game played by two players, X and Y. First X tosses the pair of dice. If the sum of the dice is 7 or 11, X wins the game. If the sum is 2, 3, or 12, Y 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, Y wins. Otherwise, X wins when the point comes up.
Source: Schaum's Outline of Data Structures with Java by John R. Hubbard
Enter the amount you would like to play in the bet field. Check the "play as shooter" box if you would like to play as player X. Click play to begin the game. If you are playing as shooter, and the initial roll comes up as a point, you will need to continue rolling until the game is over. If the computer is the shooter, it will automatically keep rolling until the game is over.