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 00:00
Match each vocabulary word to its definition.1. desktoppicture used to represent acomputer application2. domainnetwork protectionsoftware code that can be viewed,3. iconmodified, and redistributed for freethe background screen on acomputer monitor4. url5. blogan online journalthe part of an internet address that6. firewallrefers to a group of computers on anetworkonline database of web pages7. intranetnetwork for use by an individual8. open address of a web page or9. wikiresource
Answers: 2
question
Computers and Technology, 22.06.2019 23:00
Is an attack that relies on guessing the isns of tcp packets
Answers: 2
question
Computers and Technology, 23.06.2019 06:00
What makes myhexadecimalnumber a child of mynumber? which methods does myhexadecimalnumber inherit directly from the mynumber class? what can an instance of the mynumber class do? what can an instance of the myhexadecimalnumber class do? which methods are overridden? why are they overridden? how many examples of overloading are there? why was this done? where is the super keyword used? what is it doing? why isn’t the incoming value set immediately in the second myhexadecimalnumber constructor? how many examples can you find of an inherited method being called?
Answers: 1
question
Computers and Technology, 23.06.2019 07:30
What part of the interface displays the external references contained in a selected cell? the status bar the review tab the scroll bar the formula bar
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, 29.10.2019 13:31
question
History, 29.10.2019 13:31
question
Mathematics, 29.10.2019 13:31
Questions on the website: 13722362