Question: JAVA PROMGRAMMING NEEDS TO BUILD AND RUN PLEASE! Craps Game Craps is a popular dice game played in casinos. Write a program to play a
JAVA PROMGRAMMING
NEEDS TO BUILD AND RUN PLEASE!

Craps Game Craps is a popular dice game played in casinos. Write a program to play a variation of the game, as follows Roll two dice. Each die has six faces representing values 1, 2, ., ans 6, respectively. Check the sum of the two dice. If the sum is 2, 3, or 12 (called craps), you lose; if the sum is 7 or 11 (called natural), you win; if the sum is another value (i.e., 4, 5, 6, 8,9, o 10), a point is established. Continue to roll the dice until either a 7 or the same point value is rolled. If 7 is rolled, you lose Otherwise, you win Use a method that returns random values for the dice and displays the values to the user. Include the algorithm in the documentation at the top of your program. The algorithm is not the rules for the game (as described above). It is what your program is going to do Your program acts as a single payer. Here are some sample runs: You rolled 5 + You win 6-11 You rolled 1 + 2 = 3 You lose Your rolled 4 + 4 = 8 point is 8 You roll 6 2-8 You win You rolled 3 + 2 = 5 point is 5 You rolled 2 + 5 = 7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
