A modern, feature-rich blackjack card counting trainer with a spooky twist! Practice your card counting skills, learn basic strategy, and improve your game with this sleek web application.
- Card Counting Practice: Real-time running count and true count display using the Hi-Lo system
- Basic Strategy Guide: Interactive strategy recommendations with explanations
- Split Functionality: Full support for splitting pairs
- Customizable Gameplay: Adjust deck count and dealing speed
- Visual Card Distinction: Special styling for Aces (green glow) and face cards (gold borders)
- Count History Tracking: Keep track of your counting progress throughout the shoe
- Remaining Cards Display: See exactly which cards are left in the shoe
- Smooth Animations: Realistic card dealing with customizable speed
- Dark Theme: Easy on the eyes with a modern, futuristic design
- Open the Game: Simply open
index.html
in your web browser - Deal Cards: Press Space or click "Deal" to start a new hand
- Make Decisions: Choose to Hit, Stand, Double Down, or Split (when available)
- Track the Count: Watch the running count update as cards are dealt
- Learn Strategy: Follow the basic strategy recommendations to improve your play
- Space - Deal new hand
- H - Hit
- S - Stand
- Z - Double down
- X - Split (when you have a pair)
- R - Reset shoe
- C - Show/Hide running count
- Shift+C - Show/Hide remaining cards display
- B - Show/Hide basic strategy guide
- Escape - Hide count display
The game uses the Hi-Lo counting system:
- +1: Cards 2-6 (low cards)
- 0: Cards 7-9 (neutral cards)
- -1: Cards 10, J, Q, K, A (high cards)
- HC: Hand Count - Count of visible cards in the current hand only
- RC: Running Count - The raw count of all cards seen
- TC: True Count - Running count divided by remaining decks
- Decks: Number of decks remaining in the shoe
The trainer includes a comprehensive basic strategy guide that shows:
- Recommended action for your current hand
- Detailed explanation of why that action is optimal
- Real-time feedback on your decisions
- Accuracy tracking to monitor your improvement
Click the gear icon (⚙️) in the top right to access settings:
Choose from 1, 2, 4, 6, or 8 decks
Adjust the speed of card dealing from 100ms (fast) to 2000ms (slow)
- Default: 1000ms (realistic dealer speed)
When you split a pair:
- Cards separate into two hands displayed side by side
- Active hand is highlighted in green
- Play each hand completely before moving to the next
- See individual results for each hand
- Aces: Green border with animated sparkle effect
- Face Cards (J/Q/K): Gold borders with crown symbols
- Regular Cards: Clean, classic design
The right sidebar tracks your counting history, showing:
- Timestamp of each action
- Running count at that moment
- Description of what happened
- Start with Single Deck: Begin with 1 deck to practice basic counting
- Hide the Count: Use the 'C' key to hide/show the count and test yourself
- Check Remaining Cards: Use Shift+C to verify your count against actual remaining cards
- Watch the True Count: This is more important than running count for betting decisions
- Practice Basic Strategy: Try to make the correct play before checking the recommendation
- Pure Frontend: No server required - runs entirely in your browser
- Responsive Design: Works on desktop and tablet devices
- Modern JavaScript: Built with ES6+ features
- CSS Animations: Smooth, GPU-accelerated animations
- Local Storage: Settings are saved between sessions
Works best in modern browsers:
- Chrome (recommended)
- Firefox
- Safari
- Edge
This project uses automatic version management that updates the version displayed in the settings with the current git commit hash.
- VERSION constant: The
script.js
file contains aVERSION
constant at the top that stores the current git hash. - Automatic updates: The version is updated automatically when deploying via
make deploy
- Manual update: You can manually update the version by running:
./update-version.sh
To deploy the latest version:
make deploy
This will:
- Update the VERSION constant with the current git hash
- Commit all changes
- Push to the origin repository
- The version will show "dev" when not in a git repository
- The version uses the short hash (first 7 characters) for brevity
- The version is displayed in the Settings modal footer
Created with 🎰 by the Blackjack Banshee
Remember: This is for educational and entertainment purposes only. Always gamble responsibly!