A simple command-line Blackjack game built in Python. This project was created as a way to practice and demonstrate core programming skills including control flow, functions, loops, list management, and game logic. The player competes against a computer-controlled dealer following standard Blackjack rules.
- Fully shuffled 52-card deck
- Realistic card dealing and score calculation
- Player can hit or stand
- Dealer draws until reaching at least 17
- Automatic win/loss/tie detection
- Clean, readable CLI output
- Modular, professional code structure
- Run the game:
- You will be dealt two cards.
- The dealer shows one card face up.
- You can choose to hit (draw a card) or stand (end your turn).
- If your score goes over 21, you bust and lose.
- Once you stand, the dealer plays their turn.
- Final scores are compared to determine the winner.
- Python 3
- Standard library only (
random,time)
blackjack.py– Main game logicREADME.md– This file
- Add betting system and player balance
- Replay loop after each round
- High score or win tracking
- GUI version using Tkinter or PyQt
Developed by Austin Granbery