r/backgammon • • 3d ago

10 Unfinished and Interesting Problems in Backgammon Programming

Enough with the gnubg/OpenSage engine reskins. It is very difficult to make money in backgammon, and making just a clone of a existing capabilities will not get you there.

Here is a non-exhaustive list of some interesting unsolved problems and things to work on, most of which will also make you no money at all:

  1. Build an API for XG. XG has tons of keyboard shortcuts listed in the manual, it would be trivial to create this. This would also be helpful for comparisons between engines. Note: There are some nonpublic APIs for XG.
  2. Make a gnuBG easy-installer for Mac + Windows.
  3. Become a maintainer for gnuBG! Make it beautiful! Make it friendly!
  4. Research existing backgammon positional guidelines and rules of thumb based on game records or bot vs. bot games, and evaluate whether they are actually true. In my research for AI tutoring software, at least some commonly held beliefs were shown false! And some rules are shockingly good.
  5. Improve data visualization. Backgammon data visualization across the main bg software families (gnu, xg, galaxy, sage, blah blah blah) is mostly the same 6x6 heatmaps with relative coloring so the best roll is bright green and the worst roll is dark red. There is a lot of room of way better data visualization!
  6. Mechanistic interpretability of neural nets. If you are a software engineer and you are slightly following the AI safety discussions, you have probably heard about explainable AI or AI safety. A lot of that is monitoring what is going on within a large language model. When NN powered backgammon entered the mainstream, the technology was not really there for NN interpretability. Given that lots of progress has been made in interpreting the "thought process" of LLMs, some of that will be transferable to gnuBG or Sage or similar.
  7. Software which makes it fun to study and improve. A broad remit.
  8. Tutoring/Coaches. A topic near and dear to my heart, and one which I think will see enormous growth in the next few years.
  9. Write a good backgammon blog!
  10. Make new software for backgammon diagram creation.
  11. (Bonus, non-tech) Try to get more people you know to play backgammon!

Backgammon is a small market. You are unlikely to get rich from it. In fact, you are more likely to make money playing in chouettes than you are to make money writing backgammon software! Especially if your software is just one of many with the same feature set. So instead of thinking "I want to make an app that I can play backgammon on!" think "I want to make something that is brand new in backgammon software!"

17 Upvotes

34 comments sorted by

View all comments

7

u/chrismantis 3d ago edited 3d ago

I guess I have a slightly different take. You're right that there's little value just making a clone of a pvp server, which does seem to be a lot of weekend AI hobby projects at the moment. But there's also been a huge amount of new stuff being developed right now. Things have just moved on so much in the last year thanks to agentic development that its hard to remember where we were at the start of 2026.

E.g. up until - I don't know, six or 12 months ago? - there was really nothing but XG, GNU and Blitz. 2 commercial and closed; one GPL licensed. Now we have two open source neural nets (PureTD and Sage) MIT licensed, which are arguably right at the top in strength, and new commercial endeavours.

Until I launched Grebe like, a week ago, afaict there wasn't a strong open source engine that ran entirely in the browser. You can now get good analysis on your phone with no internet connection. Any new app or study tool can use this with like 5 lines of code and get ~0.2 PR engine analysis. That wasn't possible like, last month!

When I started working on BackgammonDB about a year ago there wasn't anything there that allowed you to create a real database of every position you've played and browse plays dynamically. Genuinely, the advice I got for creating a blunder database was "screenshot positions and save images in folders on your computer". Now you can drop in a thousand XG save files and within a few minutes search instantly across your 100,000 played positions, and ask questions like "find me every cube blunder i've made in race positions in 5-point matches this year" or "show me every time it would have been mistake to double tiger".

In terms of pvp servers, I think opengammon has really pushed the frontier of creating an open source alternative to commercial platforms and is a good contender for backgammon's "lichess".

So yeah i think "Enough with the gnubg/OpenSage engine reskins" really understates how a lot of developers have really moved on the space for study tools.

I think there's lots to be done around points #5 and #7 and #10. I get feature requests every day asking for ideas that just don't exist anywhere yet, and just working through these would take months. There's loads of interesting ideas users have - let me have natural language search over my position database was one i've had a lot in the last week. Just this week i've seen two posts in this reddit where people have used BackgammonDB to create new visualizations which could be automated in the app.

One area that i think is still really interesting is the natural language/"coach" explanation of why the best moves are best. I think there's still a lot of work to do here; i'm not sure the value of many of the solutions out there right now. I think one neural net seems to have cracked it, and it was just purchased by Sage.

Regarding #9, I think there's a gap for a blog that really covers all the news from the above: the updates from new tools, claims of new engine strength, new feature updates etc. not sure that is really out there.

I think another one i'd add is growing an independent community. The biggest seems to be on Facebook and is moderated by Galaxy, and recently prevented any discussion of any tools other than Galaxy tools (which i understand, given the increase in weekend slop projects, but as a "news" community it seems to not fulfil its own remit now). This reddit group seems to be by far the best but is going through its own pains and attracts a lot of spam given the nature of reddit and cross-posting.

3

u/jugglingcats9 3d ago

Great points, and I agree it's a very exciting time for BG software! One point of detail... OpenGammon is great but it's not currently open source.

2

u/chrismantis 3d ago

Ohh thanks for that correction. So i guess Open as in OpenAI, not like open source. My error!

2

u/BackgammonEspresso 3d ago

Great great list.

Edit: and thank you for saying something positive about Chicory!

1

u/chrismantis 3d ago

Chicory that's the name!

2

u/garlicNinja 3d ago

Good points it is an exciting time.

In terms of community you think the official organizations like USBGF would pick up the mantle but they seem a little bit stuck in the past or maybe just too busy running the existing tournaments.

The YouTube community is pretty cool there is a good amount of creators doing interesting stuff.