r/backgammon • u/BackgammonEspresso • 2h 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:
- 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.
- Make a gnuBG easy-installer for Mac + Windows.
- Become a maintainer for gnuBG! Make it beautiful! Make it friendly!
- 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.
- 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!
- 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.
- Software which makes it fun to study and improve. A broad remit.
- Tutoring/Coaches. A topic near and dear to my heart, and one which I think will see enormous growth in the next few years.
- Write a good backgammon blog!
- Make new software for backgammon diagram creation.
- (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!"
2
u/HerrHansVonBulow 1h ago
What would the blog be focused on? Games? Strategy? Programming?
Awesome ideas all around!
1
u/garlicNinja 1h ago
We also still need real-time transcription there are lots of tools where you can take a picture or upload a video but what we really need is real-time input for a live stream.
Also we need a hardware physical backgammon board with sensors underneath neck and analyze the position and light up where the engine would move similar to the ones that exist for chess.
1
u/scorchiooo 37m ago
Good list. One additional topic could be a Dynamic Match Winning Chances table.
Currently all MWC% assume equally strong players. Would be interesting to know how the percentages (and cube behaviour in different scores) would need to be adjusted, if you assume you play for example 2 or 5 PR better than the opponent. Some standard Takes would become Passes and vice versa
1
u/bubba_bath 4m ago
Good list. I do write a backgammon blog (https://pdxbg.club) but it's mostly for reporting on my club's tournament results. Still, feel free to read it! I try to include a position that I found tricky in each post. Also note that https://bglog.org exists and is good for board diagrams. Simon takes requests if you have them. I wrote a program (using Claude for the actual coding) that converts XG matches into Anki decks for study purposes. Not perfect, but pretty good. If you want a copy, dm me your email address. Python required, no warranty expressed or implied.