Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Train your Blackjack card counting skills using the Hi-Lo method. Available for Android.

License

Notifications You must be signed in to change notification settings

Lif28/BlackJack-Card-Counter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

BlackJack-Card-Counter

Blackjack Hi-Lo card counting trainer.

Train your Blackjack card counting skills using the Hi-Lo method. Available for Android.


logo
License Platform Python

Hi-Lo Counting System

  • 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.

Features

  • 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

Quick Start

Prerequisites

  • Python 3.11 or higher
  • BeeWare Briefcase

Installation

  1. Clone the repository
git clone https://github.com/Lif28/BlackJack-Card-Counter.git
cd BlackJack-Card-Counter/blackjack
  1. Create virtual environment and install Briefcase
python3 -m venv beeware-venv

On Windows:

beeware-venv\Scripts\activate
pip3 install briefcase

On Linux:

source beeware-venv/bin/activate
pip3 install briefcase
  1. Run the application

In development mode:

briefcase dev

Build for android:

briefcase create android
briefcase build android
briefcase run android

Usage

Normal Mode

Practice card counting at your own pace. Tap through cards manually and test your running count periodically.


NormalMode

Timed Mode

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.


TimedMode

Navigation

Use the menu (three dots) in the top-right corner to return to the home screen at any time.


TimedMode

Project Structure

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

Dependencies

  • 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.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Train your Blackjack card counting skills using the Hi-Lo method. Available for Android.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages