//members private two Die, dieOne and dieTwo private boolean resultOfGame, which is set to true if the player won, and false, if the player lost. //methods constructor PRECONDITION: none INPUT: none PROCESS: It creates the two Die. OUTPUT: none POSTCONDITION: The two Die have been created and resultOfGame is false rules PRECONDITION: none INPUT: none PROCESS: It outputs the rules of the game: two die are thrown and the sum of their two faces are added up, giving a number from 2 to 12. If the number is 7 or 11, the thrower wins. If the number is either 2, 3, or 12, the thrower loses. If it is neither of these numbers (i.e., it is either 4, 5, 6, 8, 9, or 10), this number becomes the point. The thrower continues to throw the dice until either his point comes up or the number 7 comes up. If the point comes up, the thrower wins. If a 7 comes up, the thrower loses. (One says he "crapped out"). If the thrower wins, he plays again. If he loses, he gives up the dice to the next player. OUTPUT: none POSTCONDITION: none play PRECONDITION: none INPUT: none PROCESS: It plays one game of Craps and sets resultOfGame to be true if the game was won, else sets resultOfGame to be false. OUTPUT: none POSTCONDITION: resultOfGame and the two Die were modified getResultOfGame PRECONDITION: none INPUT: none PROCESS: It returns the result of the game, resultOfGame. OUTPUT: boolean, the result of the game POSTCONDITION: none rollDice PRECONDITION: none INPUT: none PROCESS: It calls dieOne.roll and dieTwo.roll and returns the sum of their results via dieOne.getNumber and dieTwo.getNumber. OUTPUT: an int, the sum of dieOne and dieTwo POSTCONDITION: dieOne and dieTwo have been modified