Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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 arch

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Secrets Of Analytical Leaders Insights From Information Insiders

Authors: Wayne Eckerson

1st Edition

1935504347, 9781935504344

More Books

Students also viewed these Databases questions

Question

What metaphors might describe how we work together?

Answered: 1 week ago

Question

What are some of the possible scenes from our future?

Answered: 1 week ago