A text-based Blackjack game built to practice Python and object-oriented programming.
Supports advanced casino rules including splitting, double down, insurance, and surrender.
- Standard Blackjack rules and flow
- Automatic dealer logic (hits until 17, checks for Blackjack, handles busts)
- Supports multiple players
- Replayable rounds with persistent chip balances
- Handles multiple active hands after splits
- Adjustable player bets with balance tracking
- Automatic win, loss, and push payouts
- β Double Down - double bet and take one card
- β Insurance - optional side bet when dealer shows an Ace
- β Surrender - forfeit half your bet early
- β Hand Splitting - split matching cards into two hands
- Dealer checks for Blackjack before player actions
- Hits until soft/hard 17
- Automatic resolution for wins, losses, pushes per hand
- Correct handling of busts, natural Blackjacks, and multiple hands
- Python 3
- Object-Oriented Programming: Classes, Methods, Inheritance
git clone https://github.com/1Brandon1/Blackjack.git
cd Blackjack
python main.py