Lab 3.0 - Craps


Dice games are almost as old as history itself. Oddly enough, a dice game is the best game at the Casino, if you want to win, that is. Specifically, the game of Craps.

The rules for Craps are a little weird, but still simple. You use two six-sided dice to play. On the first roll, a 2, a 3, or a 12 is an automatic loss, and a 7 or 11 is an automatic win. Any other result becomes the "point" value. If you don't win on the first roll, you keep rolling until you roll your "point" again, in which case you win, or you roll 7, in which case you lose (after the first roll, the 2, 3, 11, and 12 don't count for anything). In Vegas, there's a short break between each roll to let people bet.

Create an application that plays Craps. It should have: