subject

Play pig the game pig was invented in 1945 by john scarne. it is a simple dice game played by two people. the rules for pig are simple. players roll one die and keep track of their points per turn using the following rules: roll any other number but one you add it to your turn total and keep rolling until you roll a 1. if you roll a 1, no score and it becomes the next player's turn. basically you lose your turn total points. the player can choose to hold. this means their turn total is added to their score and it becomes the next player's turn. the first person to score 100 or above wins. write a program to allow a user to play pig against the computer. the computer's rolls and choices should be created using random numbers. the player's rolls should be created using random numbers, and they should be asked if they want to hold or roll. the player should go first.

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 02:00, alexabessin
Aisha has finished working on a word processing document that contains 15 pages. she has added some special elements in the first three pages, page 9 and 10, and page 15 from the document. she wants to print only these pages to see how they look. which option is the correct way to represent (in the print dialog box) the pages that aisha wants to print?
Answers: 3
image
Computers and Technology, 23.06.2019 09:30, Cocco
You have been supporting csm tech publishing's windows server 2016 server network for over a year. the office has two windows server 2016 servers running active directory and a number of other roles. management has informed you that a small sales office is opening in the same building three floors up. the sales manager wants to install a sales application on a server located in the sales office. this server will have limited physical security because there's no special room dedicated for it, which means it will be accessible to non-it personnel and visitors. you're considering installing windows server 2016 server core on the new server because accessing its console regularly probably won't be necessary, and this server will be managed from one of the other csm tech publishing servers. what are the benefits and drawbacks of using server core for this branch office? what are some things you should do to set up this server management environment?
Answers: 1
image
Computers and Technology, 23.06.2019 19:00, jacobbecker99
Choose the correct citation for the case which established the "minimum contacts" test for a court's jurisdiction in a case. select one: a. brown v. board of education of topeka, 347 u. s. 483 (1954). b. international shoe co. v. washington, 326 u. s. 310 (1945) c. haynes v. gore, 531 u. s. 98 (2000). d. international shoe co. v. washington, 14 u. s. code 336.
Answers: 1
image
Computers and Technology, 24.06.2019 12:30, stephanieanaya7
Why does the pc send out a broadcast arp prior
Answers: 1
You know the right answer?
Play pig the game pig was invented in 1945 by john scarne. it is a simple dice game played by two pe...

Questions in other subjects: