Skip to content

1Brandon1/Blackjack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

12 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸƒ Blackjack Game (Python)

A text-based Blackjack game built to practice Python and object-oriented programming.
Supports advanced casino rules including splitting, double down, insurance, and surrender.


✨ Gameplay

  • 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

πŸ’° Betting System

  • 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 & Game Logic

  • 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

πŸ› οΈ Technologies Used

  • Python 3
  • Object-Oriented Programming: Classes, Methods, Inheritance

πŸš€ How to Run

git clone https://github.com/1Brandon1/Blackjack.git
cd Blackjack
python main.py

About

A terminal-based multiplayer Blackjack game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages