https://github.com/praharaj-ashutosh/blackjack
Blackjack game using python
https://github.com/praharaj-ashutosh/blackjack
python python-app python-programming python3
Last synced: 4 months ago
JSON representation
Blackjack game using python
- Host: GitHub
- URL: https://github.com/praharaj-ashutosh/blackjack
- Owner: praharaj-ashutosh
- License: mit
- Created: 2024-12-09T04:30:10.000Z (12 months ago)
- Default Branch: master
- Last Pushed: 2024-12-12T16:14:14.000Z (12 months ago)
- Last Synced: 2025-01-04T22:47:46.987Z (11 months ago)
- Topics: python, python-app, python-programming, python3
- Language: Python
- Homepage:
- Size: 63.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Blackjack
Black jack game using python
# About Blackjack
Blackjack (formerly black jack or vingt-un) is a casino banking game.The object of the game is to win money by creating card totals higher than those of the dealer's hand but not exceeding 21, or by stopping at a total in the hope that the dealer will bust. Number cards count as their number, the jack, queen, and king ("face cards" or "pictures") count as 10, and aces count as either 1 or 11 depending on whether or not counting it as 11 would cause a bust. If a player exceeds 21 points, they bust and automatically lose. A total of 21 on the starting two cards is called a "blackjack" or "natural," and is the strongest hand.
# Our Blackjack House Rules
The deck is unlimited in size.
There are no jokers.
The Jack/Queen/King all count as 10.
The the Ace can count as 11 or 1.
Use the following list as the deck of cards:
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.
# Screenshots

