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, 22.06.2019 04:30
Ryan is working on the layout of her web page. she needs to figure out where her header, navigation bar, text, and images should go. what technique can her?
Answers: 1
question
Computers and Technology, 23.06.2019 23:30
What are "open-loop" and "closed-loop" systems
Answers: 1
question
Computers and Technology, 24.06.2019 00:40
What is the error in the following pseudocode? module main() call raisetopower(2, 1.5) end module module raisetopower(real value, integer power) declare real result set result = value^power display result end module
Answers: 1
question
Computers and Technology, 24.06.2019 17:30
What is the next step if your volume does not work on computer
Answers: 2
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, 06.05.2021 02:10
question
English, 06.05.2021 02:10
question
Mathematics, 06.05.2021 02:10
question
Mathematics, 06.05.2021 02:10