Write a new Python program to implement the dice game Cosmic wimpout. * Here are the basic rules of.

Write a new Python program to implement the dice game Cosmic wimpout. * Here are the basic rules of the game: Equipment — five dice, one of which is special. If playing with actual dice, one would use, say four white dice and one red die. In simulating dice rolls in a computer program, just keep track of which one of the dices the special one. To take a turn, a player rolls all five dice, and scores them as follows. If you roll: five 2’s = 200 points five 4’s = 400 points five 5’s = 500 points five 6’s = automatically win the game five 1’s = automatically lose the game(these are known as

»Write a new Python program to implement the dice game Cosmic wimpout. * Here are the basic rules of the game: Equipment — five dice, one of which is special. If playing with actual dice, one would use, say four white dice and one red die. In simulating dice rolls in a computer program, just keep track of which one of the dices the special one. To take a turn, a player rolls all five dice, and scores them as follows. If you roll: five 2’s = 200 points five 4’s = 400 points five 5’s = 500 points five 6’s = automatically win the game five 1’s = automatically lose the game(these are known as a freight train, but see the You Have To rule, below)three 2’s = 20 points three 3’s = 30 points three 4’s = 40 points three 5’s = 50 points three 6’s = 60 points three 1’s = 100 points(these are each known as a flash)if you don’t score any of the above, for each die that comes up 5 you get five points, and for each die that comes up 1 you get ten points. If you get a flash other than 5s or 1s you also count the individual dice that come up 5 or 1 for five or ten points, respectively. On top of that, the special dies 3 is a wild card. Whenever a 3 comes up on that die, it can be combined with any the other dices faces to complete a three of a kind (a flash). A wild card cannot be used to complete a five of a kind (a freight train). If that doesn’t work, all by itself it could be counted as a 5 (for five points) or a 1 (for ten points). When it is your turn, you roll all the dice, figure up your score, and you get that many points. If you wish, you may conclude your turn, and keep the points. Or you may choose to roll again. But if you do roll again, you must score points on the next roll. If you do, those points are added to what you already have. If you roll again and dont score any points you have Wimped Out. Your turn is over, and you lose all points for that turn. If your turn hasnt ended, you get another chance to roll again if you want to, subject to the same rules. The You May Not Want to, But You Must rule states that you must roll again if you get all five-dice scoring. You can’t end your turn there. The Fettles Rule states that if you match three dice, you must roll those dice that dont score anything again. This clearly does not include any single die that is a 5 or a 1, or the wildcard 3 on the special die. * There really is such a game. You can purchase specialized dice at http://cosmicwimpout.com/p/7/How-To-Play,or, more importantly, see the official rules. This is not an endorsement for the product  I just thought it would make an interesting, and challenging, programming assignment.CS103 Laboratory Exercise1 of 2 You cannot roll the non-scoring dice and match the flash, for if you do, you must roll that die again. However, if you dont match the flash, one time re-rolling the non-scoring dice is sufficient. If, however, that re-roll causes all five dice to score, the You May Not Want To rule comes into effect. In a game of Cosmic Wipe out, multiple players would take turns rolling the dice. Each player may choose to stop rolling and keep the accumulated points for that turn after any roll (subject to the foregoing rules). Orthel player may choose to keep going and roll again. If some score is obtained on every roll, their points for that turn accumulate, until they either stop or Wipeout. Any time a player rolls the dice and there is no score that persons turn is ended, and they gain no points for that turn. Write a Python program to play a single turn of Cosmic wimpout. After each roll of the dice, the points are tallied, and the player is presented with a score for that turn so far, along with a choice to continue, or to quit and pass the turn. You should implement all the rules given above. As far as a special die, just designate the first die of the five to be the special one. Write a Python program to play a single turn of Cosmic Wimpout. After each roll of the dice, the points are tallied, and the player is presented with a score for that turn so far, along with a choice to continue, or to quit and pass the turn. You should implement all of the rules given above. As far as a special die, just designate the first die of the five to be the special one.

»

Calculate the price of your order

550 words
We'll send you the first draft for approval by September 11, 2018 at 10:52 AM
Total price:
\$26
The price is based on these factors:
Number of pages
Urgency
Basic features
• Free title page and bibliography
• Unlimited revisions
• Plagiarism-free guarantee
• Money-back guarantee
On-demand options
• Writer’s samples
• Part-by-part delivery
• Overnight delivery
• Copies of used sources
Paper format
• 275 words per page
• 12 pt Arial/Times New Roman
• Double line spacing
• Any citation style (APA, MLA, Chicago/Turabian, Harvard)

Our guarantees

Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.

Money-back guarantee

You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.

Zero-plagiarism guarantee

Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.

Free-revision policy

Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.