When you start to play The Bigger Draw and run the program When you start...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
When you start to play The Bigger Draw and run the program • When you start the game, it will remind you how to win. It will tell you to "win the draw twice in a row" and it will say "win two rounds in a row you'll win". • Next it will give the two players: Player 1 and Player 2 five cards randomly out of a deck. In this deck there are 5 suits (Alpha, Bravo, Delta, Echo, and Omega) All the suits besides Omega have 9 cards each with 2 special cards out of that 9 called Supreme and Ultimate (ex: Alpha Supreme and Alpha Ultimate) • Omega has 2 cards which are the biggest out of the whole deck that can win over any other suit Cards (1-7) in the suits is less than(<) the Supreme cards which is less than(<) Ultimate Cards which is less than the two Omega cards Once you get the random cards you will choose a card to place down against the other player and whoever has the bigger draw then that player wins that draw. Once Player 1 or Player 2 wins two draws then that player wins, and the program will display who won that round. After Player1 or Player 2 wins two rounds it will tell who won the game will display who won the game main.py https://HandmadeO 1 import random def ('Echo', '6') cardNumbers ["1","2","3", "4", "5", "6", "7",] deckSuits =['Alpha', Bravo', 'Delta', 'Echo'] random_choice randoms suit = random.choice(deckSuits) random_card = randoms_suit, random_choice print(random_card) 3 4 random.choice(cardNumbers) %3D 7. 8. %3D PYTHON CODE I made sp far, the program to give out random numbers with a suit in the deck. I am trying to make two players get 5 random cards each. For the first three random cards I want it to just have a random number 1-7 in one of the 4 suits. On the 4th random card I want it to randomly choose betweem the 1-7 cards and a supreme card(Alpha supreme, Bravo supreme, Delta supreme, Echo supreme) which is greater than 1-7 in any suit. On the 5th random card I want it to be randomly chosen between supreme cards, ultimate (Alpha ultimate, Bravo ultimate, Delta ultimate, Echo ultimate) which is greater than supreme and an a Omega card which is greater than all. I need help getting the value of supreme cards, ultimate cards, and omega in the deck. Also I need help in trying to make a hand for the 2 players with the 5 cards. THANK YOU! When you start to play The Bigger Draw and run the program • When you start the game, it will remind you how to win. It will tell you to "win the draw twice in a row" and it will say "win two rounds in a row you'll win". • Next it will give the two players: Player 1 and Player 2 five cards randomly out of a deck. In this deck there are 5 suits (Alpha, Bravo, Delta, Echo, and Omega) All the suits besides Omega have 9 cards each with 2 special cards out of that 9 called Supreme and Ultimate (ex: Alpha Supreme and Alpha Ultimate) • Omega has 2 cards which are the biggest out of the whole deck that can win over any other suit Cards (1-7) in the suits is less than(<) the Supreme cards which is less than(<) Ultimate Cards which is less than the two Omega cards Once you get the random cards you will choose a card to place down against the other player and whoever has the bigger draw then that player wins that draw. Once Player 1 or Player 2 wins two draws then that player wins, and the program will display who won that round. After Player1 or Player 2 wins two rounds it will tell who won the game will display who won the game main.py https://HandmadeO 1 import random def ('Echo', '6') cardNumbers ["1","2","3", "4", "5", "6", "7",] deckSuits =['Alpha', Bravo', 'Delta', 'Echo'] random_choice randoms suit = random.choice(deckSuits) random_card = randoms_suit, random_choice print(random_card) 3 4 random.choice(cardNumbers) %3D 7. 8. %3D PYTHON CODE I made sp far, the program to give out random numbers with a suit in the deck. I am trying to make two players get 5 random cards each. For the first three random cards I want it to just have a random number 1-7 in one of the 4 suits. On the 4th random card I want it to randomly choose betweem the 1-7 cards and a supreme card(Alpha supreme, Bravo supreme, Delta supreme, Echo supreme) which is greater than 1-7 in any suit. On the 5th random card I want it to be randomly chosen between supreme cards, ultimate (Alpha ultimate, Bravo ultimate, Delta ultimate, Echo ultimate) which is greater than supreme and an a Omega card which is greater than all. I need help getting the value of supreme cards, ultimate cards, and omega in the deck. Also I need help in trying to make a hand for the 2 players with the 5 cards. THANK YOU!
Expert Answer:
Answer rating: 100% (QA)
import random class Deckobject def initself ranks A 2 3 4 5 6 7 8 9 ... View the full answer
Related Book For
Managerial Communication Strategies and Applications
ISBN: 978-1483358550
6th edition
Authors: Geraldine E. Hynes
Posted Date:
Students also viewed these programming questions
-
When you start to feel yourself becoming emotional at work, what are some strategies you use to keep your emotions under control?
-
You draw two cards from a standard deck of 52 cards without replacing the first one before drawing the second. (a) Are the outcomes on the two cards independent? Why? (b) Find P(Ace on 1st card and...
-
You draw two cards from a standard deck of 52 cards without replacing the first one before drawing the second. (a) Are the outcomes on the two cards independent? Why? (b) Find P(3 on 1st card and 10...
-
Use hand calculations to fit the multiple linear regression model 1 y = β0 + β1x1 + β2x2 to the data set in DS 13.6.2. (a) Write down the vector of observed values...
-
A 1-m-square vertical plate is maintained at 49oC and exposed to room air at 21oC. Calculate the heat lost by the plate.
-
Using any necessary inorganic reagents, show how you would convert acetylene and isobutyl bromide to (a) meso-2.7-dimethyloctane-4,5-diol, (CH3)2CHCH2CH(OH)CH(OH)CH2CH(CH3)2 (b)...
-
Discuss the criminal trial process.
-
On January 1, 2007 Lani Company entered into a non-cancelable lease for a machine to be used in its manufacturing operations. The lease transfers ownership of the machine to Lani by the end of the...
-
Zen Aerospace Corporation reported the following equity account balances on December 3 1 , 2 0 2 2 : Preferred shares, $ 3 . 6 0 cumulative, unlimited shares authorized $ 0 Common shares, unlimited...
-
On January 30, 2024 the (closing) stock price of Tesla Inc (TSLA) was $191.59, and on February 9, 2024 the (closing) stock price of Tesla Inc (TSLA) was $193.57. On January 30, 2024, you thought that...
-
3. When the Earth reaches the aphelion of 1.52 x 10 m, its speed is 2.93 x 104 m/s. After a half year, the Earth moves to the perihelion of 1.47 x 10 m. Find: (a)The speed of the Earth at the...
-
Which feature allows investors to withdraw their investment AND to receive the equivalent dollar amount of the net asset value of the units they own? Explain
-
Draw a typical ECG waveform over one cardiac cycle indicating the important compo nent waves their typical durations and the typical intervals between them Label each wave or interval with the...
-
How do authentic leaders cultivate trust and credibility among stakeholders, driving engagement and fostering long-term organizational success?
-
An inductance of 30 mH having an inductive reactance of 11.3 and a resistance of 10 is connected in series to a capacitance of 100F. i) Find the impedance offered by the above combination. ii) If an...
-
Why can an investor's annual return (who is making periodic investments of differing amounts) in the same "fund" the manager is managing differ from what the manager publishes as their annual...
-
What are conversion costs? What are prime costs?
-
Rod Edwards, the advertising manager for Waterlite Advertising and Associates, has two assistants. One is Gina Reese, an account executive who gets clients for the company. Edwardss second assistant...
-
Give an example not presented in the book that demonstrates how communication technology has advanced in the past five years. How has this technology affected the management process?
-
This textbook states that it is not possible to review all contingencies. Elaborate on this statement.
-
A membrane separator is \(3 \mathrm{~mm}\) in diameter, and the membrane permeability was estimated as \(2 \times 10^{-6} \mathrm{~m} / \mathrm{s}\). The solute being transported has a diffusivity of...
-
Develop a simple backmixed model to evaluate the performance of a gas-separation system. Here a feed gas enters a high-pressure chamber with a mole fraction of A of \(x_{\mathrm{Af}}\) and leaves...
-
Pervaporation: a case-study problem. Pervaporation refers to removal of the permeate as vapor and represents an intermediate case between purely gas transport and purely liquid transport in a...
Study smarter with the SolutionInn App