Your backgammon analysis tool shows you the best move. AnkiGammon helps you remember it forever. Supports XG, GnuBG, and OpenGammon formats with automatic analysis, score matrices, and instant Anki export.
AnkiGammon combines visual board rendering with automatic analysis for effortless learning.
See positions rendered as scalable SVG boards in real-time. Choose from 6 color schemes and toggle between clockwise/counter-clockwise board orientation to match your learning style.
Paste position IDs without analysis and AnkiGammon automatically runs GnuBG to generate complete move and cube analysis. No manual rollout needed.
For cube decisions, AnkiGammon generates detailed score matrices showing equity at different match scores. Essential for understanding cube actions in tournament play.
Cards appear in Anki instantly via AnkiConnect—no import step, no file management. Visual progress tracking with background workers keeps the interface responsive.
Click moves in the analysis table to see resulting positions with smooth animations. A unique learning aid that brings positions to life.
Every card includes equity values, win/gammon/backgammon percentages, and error calculations for all candidate moves. Learn the why, not just the what.
Double-click to open—ready to use instantly
Paste XG analysis or just position IDs (XGID/OGID/GNUID)—GnuBG automatically analyzes unanalyzed positions in the background
See live board previews with score matrices for cube decisions, manage your position list visually
One click exports all positions—watch the progress bar as complete analysis cards are created
📹 Demo video or screenshots coming soon
AnkiGammon is a desktop application developed for Windows. macOS and Linux support is experimental.
✓ Fully Supported: Pre-built application ready to use, automatic builds with every release.
ankigammon-windows.zip from the latest release and extract itNo installation needed - just download and run.
⚠️ Experimental: AnkiGammon is developed for Windows. macOS support is experimental and requires building from source. No pre-built executables available.
brew install python3git clone https://github.com/Deinonychus999/AnkiGammon.gitcd ankigammon && pip install -r requirements.txt./build_executable.sh./dist/ankigammon⚠️ Experimental: AnkiGammon is developed for Windows. Linux support is experimental and requires building from source. No pre-built executables available.
sudo apt install python3 python3-pip gitgit clone https://github.com/Deinonychus999/AnkiGammon.gitcd ankigammon && pip install -r requirements.txt./build_executable.sh./dist/ankigammonsudo apt install libxcb1
Installing AnkiConnect: Open Anki → Tools → Add-ons → Get Add-ons → Enter code: 2055492159 → Restart Anki
You can paste just position IDs (XGID, OGID, or GNUID format) without any analysis. AnkiGammon automatically runs GnuBG in the background to generate complete move and cube analysis. You can configure the analysis depth (0-4 ply) in settings. For cube decisions, it can even generate full score matrices showing equity at different match scores.
What is GnuBG?
GNU Backgammon is a free, world-class backgammon engine that plays and analyzes at expert level. AnkiGammon uses it to automatically analyze positions when you paste just position IDs without analysis. It's completely optional but enables the automatic analysis feature.
Installation:
brew install --cask gnubgsudo apt install gnubg (Ubuntu/Debian) or sudo dnf install gnubg (Fedora)Note: macOS and Linux package managers may install a different version than the Windows installer.
Once installed, AnkiGammon will automatically detect and use GnuBG for position analysis. You can configure the analysis depth (0-4 ply) in the settings.
No. AnkiGammon creates a separate deck (default name: "My AnkiGammon Deck") with no interference to existing cards. You can customize the deck name.
AnkiConnect (recommended): Cards appear instantly in Anki while it's running. No import step needed. Requires AnkiConnect addon.
APKG export: Creates a file you manually import into Anki. Useful when Anki isn't running or for sharing decks.
Yes. AnkiGammon offers 6 color schemes to match your preference: Classic (traditional brown/beige), Forest (green/brown), Ocean (blue/teal), Desert (tan/orange), Sunset (purple/orange), and Midnight (dark blue/purple). Your color scheme selection is saved and applied to all generated cards. You can change themes anytime in the settings.
Yes. AnkiGammon supports both clockwise and counter-clockwise board orientation. The default counter-clockwise orientation (point 1 at bottom right) is standard, but you can switch to clockwise (point 1 at bottom left) in the Options menu. Your preference is saved and applied to all generated cards automatically.