Question: How do u write a python code for this Project 3: Blackjack Strategy Simulator Overview as Twenty-One). The to define a strategy and the computer
Project 3: Blackjack Strategy Simulator Overview as Twenty-One). The to define a strategy and the computer is to In this project, you will create a program that simulates the casino game Blackjack (also known program is not intended to let the user play the gae how You will also implement your play thousands of games using that strategy program using a GUl Instructions: 1. Read over this document to find out what the program is supposed to do. 2 The design document for this project is due on Friday, October 27,2017, at 5 PM Follow the instructions on Note: Your design document should the Design be typed up. Please submit it as a hardcopy. 3. The code for this project is due on Friday, November 3, 2017, at 5 PM Please make sure you start the project ahead of time. Write your code with good style, including comments and so on. See the Grading Rubris rubric.html for information about how your project will be graded Rules of Blackjack You will need a rudimentary understanding of the way Blackjack is played to complete this program. A four-minute description of the rules can be found in th You can find a lot more information on the game online (as well as websites that let you play against a computer). For the basic version of the program, you may make the following simplifying assumptions: 1 The game is played with two people: the player and the dealer 2 All aces count as having a value of 1 (never 11). 3. The only options available to a player are "hit" or "stand" (no split, double-down, insurance, etc). 4. The dealer always hits on 16 or lower and always stands on 17 or above-see "Strategies'" below. 5. There is no special rule if the player gets a "blackjack-it just counts as a 21 6 The deck has infinitely many cards in it. Strategies In Blackjack, the dealer is basically a robot: she plays automatically according to a predefined set of rules. As long as the value of the dealer's cards adds up to 16 or lower, she continues to "hit," taking more cards until she reaches 17 or higher, at which point she stops (or busts) In your program, the player will also play automatically according to a predefined strate.This threshold is cards until reaching a specific threshold, say 17, at which point no more ca referred to as Stand on... in the sample run below, are requested. This since this is the lowest value on which the player is to stand
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
