Answered step by step
Verified Expert Solution
Question
1 Approved Answer
When you start to play The Bigger Draw and run the program When you start the game, it will remind you how to win.
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( 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!
Step by Step Solution
★★★★★
3.47 Rating (167 Votes )
There are 3 Steps involved in it
Step: 1
import random class Deckobject def initself ranks A 2 3 4 5 6 7 8 9 ...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started