Skip to content

All-in-one Blackjack card counter and strategy trainer with Hi-Lo and true count deviations.

Notifications You must be signed in to change notification settings

5igor99/Blackjack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🃏 Blackjack Card Counter & Strategy Assistant (Tkinter)

All-in-one Blackjack trainer with Hi-Lo card counting, basic strategy & index deviations (Python/Tkinter).

📸 Screenshots

combo

Features:

  1. Hi-Lo Card Counting

  • 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
  1. Basic Strategy Engine

  • Handles Hard hands, Soft hands, and Pairs
  • Decisions: Hit · Stand · Double · Split
  • Rules consistent with multi-deck Blackjack
  1. True Count Deviations

  • Automatic index plays (Illustrious 18 + common negatives)
  • Insurance advice (TC ≥ +3)
  • Base strategy vs deviation display
  1. Interactive GUI

  • Two-column layout (Left: counting / Right: strategy)
  • Real-time updates of counts and strategy decisions
  • Toggle hand type: Hard / Soft / Pair

▶️ Installation

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

⚠️ Disclaimer

This software is for educational purposes only. Gambling involves financial risk. Code generate with AI.

About

All-in-one Blackjack card counter and strategy trainer with Hi-Lo and true count deviations.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages