Question: Newer version of python (starting out w python 4ed) lab06: Blackjack 1 Blackjack This is a Blackjack program. The idea is to simulate Blackjack in
lab06: Blackjack 1 Blackjack This is a Blackjack program. The idea is to simulate Blackjack in order to make programming more fun! Here is the overview of the implementation: .To simulate the shuffled stack of cards, we use a pseudo random number generator that generates a random number in the range of1 to 13. This represents the cards numbered 1 through 10, plus the jack, queen and king, respectively. If the card number is 1 to 10, it directly represents the value of the card. If the card number is 11 to 13, the card represents the jack, queen, and king, which all have the face value 10. . Player's round: The dealer draws an initial card for the player and shows it. The player then can choose to draw additional cards as many times as he wants. If his cards have a combined value of more than 21, he loses immediately. If the player decides not to draw any more cards, it's the dealer's turn. Dealer Stands on All 17's: With this rule, if a dealer's hand total is less than 17, they must continu to hi. For example, if you have a hand totaling 12, and the dealer's hand is 14, even though it beats your hand they cannot "stand. This may increase the dealer's odds of going over 21 or "busting." The dealer must continue to take cards, or "hit until his total is 17 or greater If cards total 17 or greater, the dealer must stop drawing cards, or "stand." An Ace in a dealer's hand is always counted as 11if possible without the dealer going over 21 (Taken from: http://www.bigmcasino.com/learn-more/do-dealers-and-players-have
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
