An open API service indexing awesome lists of open source software.

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

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

![preview](images/preview.png)
![preview2](images/preview2.png)