The game of craps is a game played with 2 dice. They are rolled together and their points are totaled. If you roll a 2, 3, or 12, you immediately lose. If you roll a 7 or 11, you immediately win. Any other value is called the point. You then must roll the 2 dice over until you roll the point again or you roll a 7. If you roll the point again, you win, if you roll 7, you lose.
A sample program can be downloaded from the website. See the screenshots below for example behavior:
Make a Craps program as shown above. One important thing that the program should do is to only display the point GroupBox when it is appropriate (i.e. when you are trying to roll point.)
Make sure it handles the 2 separate phases of the game correctly:
Place your files into a zip folder as we did for the last assignment. The URL for submission is:
http://www.cs.pitt.edu/~jmisurda/submit/
It will go live at class time Tuesday (no submissions accepted prior to that.)
If you want help, make sure you see me before the deadline.
The username and password will again be cs0004 and vbrocks