Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Python 3.6 Create a game very similar to Cosmic Wimpout. Have five dice. One dice is special, which is really just the first die of

Python 3.6

Create a game very similar to Cosmic Wimpout. Have five dice. One dice is special, which is really just the first die of the five. Keep track of which dice is the special one when simulating dice rolls. To take a turn, a player rolls all dice and scores them as follows: five 2s = 200pts, five 6s = automatically win, five 1s= automatically lose, five 4s = 400 pts, five 5s = 500 pts. These are known as freight train, which are part of the You have to rule below: three 2s= 20 pts, three 5s = 50 pts, three 3s =30 pts, three 6s = 60 pts, three 4s = 40 pts, three 1s =100 pts. If you dont score any of the above, then for each die that is 5 you get 5 pts. For each die that comes up 1, you get 10 pts. If you get a flash other than 5s or 1s , then you count the individual dice that comes up 5 or 1 for five pts or 10 pts, respectively. When it is your turn , you roll all dice, figure your score, and get that many points. Please provide INDENTED source code and block comments, whenever possible. It'll help me understand better. Thanks

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Objects And Databases International Symposium Sophia Antipolis France June 13 2000 Revised Papers Lncs 1944

Authors: Klaus R. Dittrich ,Giovanna Guerrini ,Isabella Merlo ,Marta Oliva ,M. Elena Rodriguez

2001st Edition

3540416641, 978-3540416647

More Books

Students also viewed these Databases questions

Question

How does the concept of hegemony relate to culture?

Answered: 1 week ago