Answered step by step
Verified Expert Solution
Question
1 Approved Answer
I need help creating a code (visual studio) ers/ythor/Downloads/Lab4/LAB4EGR1400.pdf + Fit to page D Page view A) Read aloud Dice total 7 or 11 Start
I need help creating a code (visual studio)
ers/ythor/Downloads/Lab4/LAB4EGR1400.pdf + Fit to page D Page view A) Read aloud Dice total 7 or 11 Start Over Again LOSE A POINT WIN A POINT Figure 1: A Flowchart for the Game of Craps in this program, you will need to use the Random class to randomly generate 2 numbers to determine what the user rolled on each die (2 dice total). When the player clicks on the Roll the dice button the computer will randomly select two numbers. Using these randomly select numbers, it will display two dice representing the correct numbers that were chosen. It will also display the numbers for each die and the total. After rolling the dice, the game status will be displayed by the placement of the puck. A black puck indicates the game is in the come out roll (set roll) state. A white puck indicates a subsequent roll and the point value (or goal). A message indicating a win, loss, or other relevant information should also be displayed. This game should keep score, if a player wins, one should be added to the score and if the player loses, one should be subtracted You dont have to implement the Craps game exactly as shown as long as it has all of the described in the lab. from the score. The score can be negative. Below is a sample screen shot. components 2 x Odds Stats Die 1 6 Die 2 1 Total 7 COME 3 4 9 10 11 FIELD Don't Pass Ber B0 Peint 9 Score - SS LINE archStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started