🃏 Blackjack Card Counter & Strategy Assistant (Tkinter)
All-in-one Blackjack trainer with Hi-Lo card counting, basic strategy & index deviations (Python/Tkinter).
📸 Screenshots
✨ Features:
- Support for 1, 2, 6, or 8 decks
- Running Count (RC) and True Count (TC)
- Cards seen, remaining, and total
- Color-coded quick buttons for fast input
- Handles Hard hands, Soft hands, and Pairs
- Decisions: Hit · Stand · Double · Split
- Rules consistent with multi-deck Blackjack
- Automatic index plays (Illustrious 18 + common negatives)
- Insurance advice (TC ≥ +3)
- Base strategy vs deviation display
- Two-column layout (Left: counting / Right: strategy)
- Real-time updates of counts and strategy decisions
- Toggle hand type: Hard / Soft / Pair
Requirements:
- Python 3.9+
- Tkinter (included with Python)
Quick Start
Clone the repo:
git clone https://github.com/5igor99/Blackjack.git cd Blackjack
Run the application:
python blackjack.py
On Windows, if python is not recognized, try:
py blackjack.py
🧠 How It Works:
- BlackjackCardCounter: Hi-Lo counting, RC, TC, and remaining decks
- BasicStrategyEngine: Implements hard, soft, and pair strategy
- INDEX_RULES: Stores index deviations for multi-deck play
- BlackjackOneScreen: Full GUI combining counting and strategy
🎯 Purpose
- Educational tool for learning Blackjack strategy
- Mental training for card counting
- Visualization of base strategy + deviations
- Understand impact of True Count on decisions
📌 Future Enhancements
- Support for custom house rules (H17, no DAS, surrender)
- Additional card counting systems
- Suggested bet sizing
- Full hand simulation mode
- Session saving / statistics tracking
This software is for educational purposes only. Gambling involves financial risk. Code generate with AI.