subject

Design the logic for a game that simulates rolling two dice by generating two numbers between 1 and 6 inclusive (one number for each die). The player will choose a number between 2 and 12 (the lowest and highest totals possible for two dice). The program will then roll the dice three times, if the user's guess comes up in one of the rolls the user wins. If the guess does not come up after three rolls then the computer wins. The answer needs to be in Javascript. Please and thank you.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 07:30
What key should you press and hold to select and open multiple files at one time? enter alt control esc
Answers: 1
question
Computers and Technology, 23.06.2019 16:00
Which analyst position analyzes information using mathematical models to business managers make decisions?
Answers: 1
question
Computers and Technology, 23.06.2019 19:40
Use a physical stopwatch to record the length of time it takes to run the program. calculate the difference obtained by calls to the method system.currenttimemillis() just before the start of the algorithm and just after the end of the algorithm. calculate the difference obtained by calls to the method system.currenttimemillis() at the start of the program and at the end of the program so that the elapsed time includes the display of the result. use the value returned by the method system.currenttimemillis() just after the end of the algorithm as the elapsed time.
Answers: 3
question
Computers and Technology, 23.06.2019 22:20
What is a programming method that provides for interactive modules to a website?
Answers: 1
You know the right answer?
Design the logic for a game that simulates rolling two dice by generating two numbers between 1 and...
Questions
question
Mathematics, 12.02.2021 06:50
question
Mathematics, 12.02.2021 06:50
Questions on the website: 13722362