Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.38 KB

File metadata and controls

33 lines (22 loc) · 1.38 KB

Package/Script Name

blackjack_game

Short description of package/script

This is simple version of the black jack game you have given a list of two when your cards total is greater than 21 it will call black jack and you will loose,if your card's total is less than 17 you have to pick a card mandatory.At the end you will stop picking your card the game will end it will show what the are cards does the computer have.After that who has the greater number in total cards they will win


This project is made to use the concept of list and functions properly>

Setup

Copy the project to your local enviroment and that's all this code can be run on any python IDE.

Detailed explanation of script, if needed

OUR GAME RULES

  • The deck is unlimited in size.
  • The Jack/Queen/King all count as 10.
  • The the Ace can count as 11 or 1.
  • cards = [11, 2, 3, 4, 5, 6, 7, 8, 9, 10, 10, 10, 10]
  • The cards in the list have equal probability of being drawn.
  • Cards are not removed from the deck as they are drawn.
  • The computer is the dealer.

Output

black-jack screenshot

Author(s)

Archisman Saha