Access Millions of academic & study documents

Mod 5 Creating a Blackjack Simulator Project

Content type
User Generated
Subject
Python
Type
Other
Showing Page:
1/8

Sign up to view the full document!

lock_open Sign Up
Showing Page:
2/8

Sign up to view the full document!

lock_open Sign Up
Showing Page:
3/8

Sign up to view the full document!

lock_open Sign Up
End of Preview - Want to read all 8 pages?
Access Now
Unformatted Attachment Preview
Lesson Title: Module Lab Assessment 5: Creating a Blackjack Simulator Instructions Part 1-------------------------------------------------------------------Overview: Scenario You’ve just been hired by a small-town casino that wants to create a simulated card playing platform. To get you warmed up, they want you to be able to create a blackjack game simulator. Grading This lab is partially auto-graded and partially manually graded by your instructor. Your instructor may adjust your score up or down based on your "make it your own" task. Complete all lab requirements before you submit your work. To submit, click the checkbox, or checkboxes, and then click the "Submit" button in the task list. Instructions Part 2-------------------------------------------------------------------What you need to know: The game logic needs to follow this pattern: 1. Create a deck. 2. Give each player two cards (chosen randomly using random.choice). 3. Display both hands 4. Prompt the player to either hit (that is, draw another card) or stay. 5. If the player hits, keep checking whether the total value of the player’s cards is equal to 21. If it is, then the player wins, and if it is above 21, then the player loses. Display each updated hand after each card draw. 6. If the player stays, then it’s the dealer’s turn to act. If the total value in the dealer’s hand is less than 17, then they must hit. If it is greater than or equal to 17 but less than or equal to 21, then the dealer must st ...
Purchase document to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.
Studypool
4.7
Indeed
4.5
Sitejabber
4.4