My application is a blackjack app that lets you play 1-on-1 with the dealer and gives the player recommendations based on the circumstances of the game.
Blackjack is a gambling card game in which players try to acquire cards with a face value as close as possible to twenty-one without going over. The game is played with 52-card decks where suit does not matter.
- Blackjack may be played with one to eight decks of 52-card decks.
- Aces may be counted as 1 or 11 points toward the player's total, numerical cards 2 to 9 are counted as their face value, and face cards and 10's both count as ten points.
- The value of a hand is the total of the point values of the player's individual cards. The highest possible value without losing is "blackjack", which consists of an ace and any 10-point card.
- The dealer and each player receive two cards for an initial deal, but the dealer only shows one card.
- Once all initial hands have been dealt, the player has the following choices:
- Stand: the player keeps their hand as is.
- Hit: the player draws another card from the deck, and the player may hit so long as their total does not exceed 21.
- Double-Down (not featured yet): the player doubles their bet and gets one, and only one, more card.
- Split (not featured): If the player has two of the same cards upon the initial deal, then they may choose to double his bet and split his cards into two individual hands.
- After the player has had their turn, the dealer will reveal their hidden card. If the dealer has 16 or less, then they will draw another card.
- If the player goes over 21 points from hitting, then the player busts.
- If the dealer goes over 21 points, then the dealer busts.
- If the dealer does not bust, then the higher point total between the player and the dealer will win
- Download and install Python
- Download and install Pygame.
- In a command line environment inside the blackjack folder, run the blackjack.py program with the command
py blackjack.py
- Basic game of blackjack where the user has a choice of [H]it, [S]tand, or [Q].
- Simulates a real deck of cards using a python list, that's shuffled between every hand.
- Gives a recommendation to the user on whether they should hit or stand.
- Multiple decks of cards and no shuffling between each hand until the deck is nearly empty.
- Counting cards as to help the user decide if the deck is favorable to them or the dealer.
- Add a chip total for players to place bets with
- Switching from command line to webpage interface to play
- Add multiple players