Backgammon flashcards for Anki, in your browser

Turn eXtreme Gammon analysis into Anki flashcards. Nothing to install.

This version uses analysis you already have: .xg and .xgp files, or text copied from eXtreme Gammon. To analyze position IDs or .mat files, or add score matrices, get the desktop app.

Getting ready… the first visit downloads about 7 MB, cached afterwards.

1 Add your analysis

Drag & drop an .xg or .xgp file here, or

Match files keep only the mistakes above your thresholds. A position file becomes one card.

Paste analysis copied from eXtreme Gammon

No XG file at hand?

Browser or desktop?

Both make the same cards. The browser version needs no install and works on a phone or tablet, but it has no analysis engine, so it only takes positions eXtreme Gammon has already analyzed.

BrowserDesktop app
InstallNoneDownload for Windows, macOS or Linux
eXtreme Gammon .xg and .xgp filesYesYes
Analysis copied from eXtreme GammonYesYes
Position IDs (XGID, GNUID, OGID)NoYes, analyzed with GNU Backgammon or eXtreme Gammon
.mat, .sgf and .txt match filesNoYes
Score matrix and cube comparisonsNoYes
Your own notes on cardsNotes written in XGNotes written in XG, or add your own
Getting cards into Anki.apkg, or straight into Anki with AnkiConnect (Chrome, Edge, Firefox).apkg, or straight into Anki with AnkiConnect
Decks organized in a tree, saved collectionsNoYes

Download the desktop app: it is free, and GNU Backgammon, which it uses to analyze positions, is free too.

Getting analysis out of eXtreme Gammon

  • A whole match: analyze it in XG, save it, and drop the .xg file above. Pick the error thresholds and which player's mistakes to keep.
  • One position: save it as an .xgp file, or analyze it, press Ctrl+C in XG and paste the text above.
  • Comments you typed in XG come along and appear on the back of the card.

Frequently asked questions

Is my file uploaded anywhere?

No. The page downloads Python and AnkiGammon into your browser once, then reads your file and builds the deck on your device.

Why can't it analyze a position ID?

Analysis needs an engine such as GNU Backgammon, and neither it nor eXtreme Gammon runs in a browser. The desktop app runs GNU Backgammon for you.

Are these the same cards as the desktop app makes?

Yes. The browser runs the same AnkiGammon code as the desktop app, so the cards look and work the same.

How does Send to Anki work?

With Anki and the AnkiConnect add-on running, the page sends the cards to Anki on your computer. The first time, Anki asks whether to allow this site, and Chrome, Edge or Firefox may ask whether the site can reach apps on your device; say yes to both. Allowing the site lets it change your Anki collection, which is why Anki asks. Safari and iPhone or iPad browsers block this, so use Download .apkg there.

Why does the first visit take a few seconds?

The page downloads about 7 MB: Python compiled for the browser, plus AnkiGammon. Your browser keeps it, so later visits start faster.