Your move: you now play BackgammonDB quizzes on the board
Before, in Study and in shared quizzes, you had to choose from a selection of moves. With today's update, you now make the play on the board yourself. Also, bug fixes, a new homepage, an in-app card for new blog posts, share fixes, and more!
Another big update today. Some of it you'll notice right away; some of it lays the groundwork for future updates. Most of it relates to position quizzes and analysis.
The biggest change to the app itself is when you interact with quizzes, you play the actual move on the board. Before, you had to pick a move from a list; now it's much more natural — click or drag checkers and submit your move. While I was there, I tidied up the quiz interface and fixed a couple of bugs with the share position feature.
New homepage (and a call for help!)
Spangly new homepage is out. Ooooooh. Hopefully, it looks less daunting to new users and better sells the features of the app. A before and after:

Also, I've added in testimonials from real users: these are real people who reached out with their kind words. Thank you, lovely BGDB users!
If you use BGDB and have thoughts and wouldn't mind going into the testimonials box, please reach out! If you tweet or post anything nice about BGDB, please also let me know and I will share it.
It really helps get the word out about BackgammonDB. I suck at marketing and would rather spend my spare time improving the app than selling it. I'm also not really embedded in other backgammon communities (either online or IRL).
In fact, send me all your feedback, good and bad. So far, every feature request has been fulfilled, and every bug report fixed.
So if you like the tool and you want to help spread the word, tweet, msg me, share it. Share your positions and quizzes in your Slack/Facebook/email/forum communities. It all helps. Thanks!
You now move the checkers yourself 😲
This probably sounds like the most obvious feature ever, and one you'll be used to everywhere else: when you are faced with a quiz, you can answer it by moving checkers on the board. Amazing! But until now, BackgammonDB didn't work like that: instead, you had to pick from a list of candidate moves.
The reason why is that this is actually a complicated addition to the app. Until now, BackgammonDB never had any concept of legal moves in backgammon. Sounds bizarre, but basically that was entirely left to analysis. Analyzed files tell you not just how you played, but also what the top candidate moves were. So BackgammonDB could naively say they were the candidate moves, present them, and show their result: it never had to worry about whether that move was legal given the board state and the dice.
So doing this meant adding in a whole new layer: BackgammonDB needed to understand how checkers move, how they come off the bar first, how points work, how doubles function and how bear-off works. And there are a few gotchas! Like having to use both dice — or having to use the larger of the two dice — when you can. That's a lot of new code.
Then there's building the layer of interactions too. Not just clicking checkers, but the ability to play one die first, to choose to hit or skip over a checker. And today there are a lot of interactions that players have come to expect: click the tray to bear off; click to make a point.
This now works across BackgammonDB. When you do a quiz, whether you're in Study or interacting with a quiz position someone has shared, you now play out the move.
Here's what should work:
- Drag a checker to see every point it can reach.
- Click the empty space above a point to make it: if exactly one pair of checkers can get there, both move. On a non-double, that works before your first move.
- Click the bear-off tray to bear off a checker.
- Click a checker to move it by the active die (the larger one to start), or by the other die if it can't. Click the dice to swap which one plays first.
- Undo takes back your last move, and Undo all starts again. Ctrl+Z works too.
- You can play from the keyboard: the arrow keys pick a checker, Space moves it, D swaps the dice, and Enter submits.
- All standard backgammon rules should be adhered to, obv.
Please let me know if you spot a bug! As I say, lots of edge cases here.
This change also means that in quizzes, you can play any move: not just those from a set list. That means you could play a move so bad it isn't in the stored list of candidates at all. In this case, your move will be analyzed by our GNUBG server.
You're always the one deciding (a possibly confusing change)
A recent post talked about how the hero also comes first — I updated the app so that the hero is shown in the "player 1" position, regardless of how it is stored in the match file.
But this didn't carry through to other areas, like analyzed and shared positions. If you viewed an "opponent" position and shared it, that share would still be in "your" perspective. If you took a position to analysis, it would remain an analysis of the opponent. That's sort of natural (nothing changes), but it's also sort of confusing: it's odd to see a shared position where the play is from the opponent's perspective, playing bottom-to-top.
So now, whenever you share or analyze a single position, the player who has to decide is at the bottom, in your first checker color. The same goes for Study and notebook thumbnails. Match review doesn't change. Honestly, I'm not 100% sold on this solution — it feels a bit jarring initially. You're viewing a position as white, you click "share," and now everything is flipped and the player is purple. But I think the end result is better: you're sharing something from the expected player's POV, in the expected "player 1" color of BackgammonDB.
Let me know what you think. You can see it in action below.
Also new
More stuff crammed into this update.
Blog posts are now announced in the app
Right now blog posts are pretty hidden for users: they're on the homepage, but nowhere inside the app itself. When I publish a new post, existing users now see a little card in the app. Click it to read the post; click away, and it disappears for good. Hopefully not too distracting.
Smoother app updates
A really big update that touched a lot of code, which hopefully you'll basically never see. When I deploy new code and you have a tab open (I know some users leave a lot of tabs open indefinitely...), it will detect the new version and seamlessly update the next time you change page. If you stay on one page for a while, a banner offers a reload. It waits if you're in the middle of an analysis or an import. If it all works well, you shouldn't even notice. There are also new guards that stop tabs falling out of sync during database upgrades.
If you see "BackgammonDB is open in another tab that runs an older version", reload or close your other BackgammonDB tabs. That only happens with this update.
More PR fixes for XG!
I cannot believe how many bugs I've spotted since launching BackgammonDB, trying to get our stats to match up perfectly with XG when it comes to calculating PR. Every other app does this and apparently has no issues... I think I've fixed a dozen or so edge cases. I have a library of hundreds of XG matches as a testbed yet still find inconsistencies.
This one: when not doubling and doubling (with a take) are worth exactly the same, XG still counts that as a cube decision. We had it as an "optional" double, so didn't count it. That's a fix (and the same for GNU Backgammon files), and your stored matches will all update themselves (hence the database migration on this new deploy); a few PRs move by a fraction of a point.
That's it for this one. As always, if you spot a bug or have an idea, you can contact me through email or the contact form. Cheers!
Your home for backgammon study.
With BackgammonDB you can review your matches, analyze any position, build a position database, drill your weak spots, and track your progress over time. Free, no account required.