Blackjack Hi-Lo card counting trainer.
Train your Blackjack card counting skills using the Hi-Lo method. Available for Android.
- Cards 2-6: +1
- Cards 7-9: 0
- Cards 10, J, Q, K, A: -1
Keep the running count in your head as cards are revealed.
- Normal Mode: Press the "next" button to continue counting cards manually
- Timed Mode: Select the speed, and count cards
- Simple GUI: Intuitive interface for users
- Portable: Works on Android
- Python 3.11 or higher
- BeeWare Briefcase
- Clone the repository
git clone https://github.com/Lif28/BlackJack-Card-Counter.git
cd BlackJack-Card-Counter/blackjack- Create virtual environment and install Briefcase
python3 -m venv beeware-venvOn Windows:
beeware-venv\Scripts\activate
pip3 install briefcaseOn Linux:
source beeware-venv/bin/activate
pip3 install briefcase- Run the application
In development mode:
briefcase devBuild for android:
briefcase create android
briefcase build android
briefcase run androidPractice card counting at your own pace. Tap through cards manually and test your running count periodically.
Challenge yourself with automatic card progression. Adjust the speed from 0.5 to 2 seconds per card using the slider. Pause anytime with the Stop/Resume button.
Use the menu (three dots) in the top-right corner to return to the home screen at any time.
blackjack/
├── src/
│ └── blackjack/
│ ├── resources/
│ │ ├── cards/ # 52 playing card images
│ │ ├── logo.png
│ │ ├── icon.png
│ │ └── icon-*.png # Android icons (various sizes)
│ ├── __init__.py
│ ├── __main__.py
│ └── app.py # Main application code
├── tests/
│ ├── __init__.py
│ ├── blackjack.py
│ └── test_app.py
├── .gitignore
├── LICENSE
├── README.md
├── pyproject.toml # Project configuration & dependencies
└── CHANGELOG.md # Version history
- Python 3.11+ - Programming language
- BeeWare Toga ~0.5.0 - Cross-platform GUI framework
- BeeWare Briefcase - Packaging tool for mobile/desktop apps
All dependencies are managed through pyproject.toml. No separate requirements.txt needed.
This project is licensed under the MIT License - see the LICENSE file for details.