r/backgammon • • 16h ago

Yet Another Backgammon Engine: Grebe is fully open source, runs entirely in the browser, looks competitive with the top engines

17 Upvotes

Yes, just what everyone wanted: another backgammon engine. I built Grebe (for Generally Reliable Engine for Backgammon Evaluation lol) because i wanted an engine for BackgammonDB that ran in the browser, both to play against and for analysis. The goal was something "good enough": close enough to gnubg and XG that you can study with it and know the advice is sound in most positions.

How it works and how I measured it: https://backgammondb.com/grebe

You can play it now here: https://backgammondb.com/play (side note: i think the playing interface on bgdb is the best out there, works great on a phone in landscape if you hit full screen. but obv i'm biased)

Code: https://github.com/chalkstreamdev/grebe

npm: https://www.npmjs.com/package/@backgammondb/grebe

Most of this I didn't really do myself; i have not trained a new neural net. Grebe is built on Alex Strehl's PureTD network, which is incredibly strong, and on Eran Lambooij's HedgeHog board and cube code. So all credit there, and ty both for the MIT licenses (Grebe is also MIT licensed). Thanks also to Sage for a great public benchmark, which I used. On top of that, Grebe adds a few new things: search depth that changes with the position, exact two-sided bear-off tables (built on the fly when needed), a SIMD port to wasm, tuned cube efficiency, and match equity for match play.

Top line: It's a strong engine, but prob not frontier of engine analysis. Head to head, Grebe Smart beat or tied every engine i could test:

  • It beats gnubg at depth* 3 and depth 4, and Sage at depth 3, in money games and 5-point matches.
  • It beats both of HedgeHog's published networks (Fox 1.0 and Aureus) in HedgeHog's own open search at depth 2.
  • When i put those networks into Grebe's own search, it beats Aureus in money games, and the rest are too close to call.

XG World Class grades Grebe Smart's play at a PR of about 0.3 in money and matches, the closest to XG of any engine i tested (caveat: i tuned it against XG)

Grebe doesn't have any kind of truncated rollout right now, so it won't be as strong at the absolute front end. Even so, on Sage's benchmark it beats Sage 1T and is level with XG Roller+ (PR 0.41), while searching only to depth 3. Sage 2T/3T and XG Roller++ still score better (as will Gammon.ai's top truncated rollout, I'm sure).

Grebe Smart decides in under a second; it should feel instant on most decisions whether playing on desktop or phone. All the benchmark data is public (match files, PR tables, everything), so you can check any of this.

Why any of this matters:

  • If you're a web/app developer, including commercial tools, you can add strong analysis with a few lines of code and no server at all.
  • If you're a BackgammonDB user, you can now play on the site and every match and every position immediately goes into your database. Any text file you upload will be analyzed by either Grebe Quick or Smart.

(* i'm using "depth 2" and "depth 3" as an alternative to ply, to avoid ambiguity. Depth 3 = what XG calls 3-ply: every candidate move on roll, plus 2 more ply after that)


r/backgammon • • 4h ago

Precision Dice - biggest assortment - all finishes, all colors. (Best Deals EU)

Thumbnail
gallery
0 Upvotes

Hello all,

For those in the EU who are looking for precision dice. All colors, all finishes (opaque, frosted, and transparent), and special pairs with coloured dots. Serialized and non-serialized. For under € 20, door-to-door, delivered to your home (within the EU)
Check: https://progammon.com/precision-dice/


r/backgammon • • 7h ago

Roll-up travel backgammon sets – which ones are actually worth the money?

1 Upvotes

Hi everyone,

With Christmas coming up, I'm curious about roll-up backgammon sets.

I've come across a few different options from brands like BOS Backgammon, Sondergut, Melia Games and some cheaper ones on Amazon.

Quite a big difference in price, but also seemingly in materials and quality.

Does anyone here have experience with any of these brands? Is it worth spending more on a premium leather set or would you recommend something else?

Would love to hear some actual experiences!


r/backgammon • • 10h ago

USA vs Russia: a backgammon match that never ends, 24/7

Thumbnail
youtube.com
0 Upvotes

r/backgammon • • 7h ago

I'm the developer of a new iPhone backgammon app that explains your mistakes in plain words. Tell me what it gets wrong

Post image
0 Upvotes

Hi all, I'm Paul, an independent developer in France. I know this sub has seen a lot of new backgammon apps. The mods allowed me one post, so this is it.

Backgammon Room came out on the App Store this week:

https://apps.apple.com/app/apple-store/id6820714401?pt=128783507&ct=reddit&mt=8

What it tries to do differently: it is for people who know the rules but never studied the game. After a game, a coach explains each mistake in a sentence or two, draws the better move on the board, and shows your winning chances before and after instead of equity numbers. The analysis is GNU Backgammon's.

About the dice, since it always comes up: each game's dice are locked before the first roll and you can check every roll afterwards, or roll your own real dice instead.

I just want an honest review about it thanks


r/backgammon • • 18h ago

Is Backgammon Hub the safest place to play?

Thumbnail
gallery
0 Upvotes

Running a popular backgammon site that supports free-text chat (rather than simple emojis) presents challenges. While most players are friendly and sporting, there is a small minority who can be abusive and ruin the playing experience for everyone.

Most of the major platforms have good ways of handling this: block chat for specific players, report to admin, and so on. Hub has had these for a while.

Hub now has AI auto-moderation. This grades match messages along various axes: geniality, frustration, and abuse level. It takes into account the context of previous messages, not just a single message.

Players are clearly notified and can opt out of auto-moderation. See screenshot.

If a player sends a message which is deemed abusive, their opponent sees a prompt asking them to confirm it is. If they answer yes, the chat is blocked and a match link is sent to admin for review. As admin I will disable chat for all future matches for an abusive player.

Sometimes players who know each other like to engage in colourful banter, which can trigger the auto-moderation. In this case, players can make a match private. If both players agree to chat privately, auto-moderation is disabled and messages are not visible to watchers.

Tournament matches which aren't hosted by Hub are not auto-moderated. It's for the TD of the tournaments to moderate the chat between players in this case.

To recap, Hub has the following features/protections:

  • Players can disable chat for a single match
  • Players can hide the chat until the end of the match (distraction free mode)
  • Players can block chat or challenges from other players permanently
  • Admin can block chat or lobby access for players
  • Players can chat privately, if both agree
  • Players can enable watchers to chat, if both agree

www.backgammonhub.com


r/backgammon • • 1d ago

What do you think are engines' "true" performance ratings?

5 Upvotes

What I mean: if we were to theoretically make an engine which can play backgammon perfectly*, what do you think current engines (like XG as the gold standard, or GNU for people like me who haven't shelled out the money for XG yet, but use backgammondb.com instead) would score in terms of PR?

Of course, there can be distinctions between different depths of an engine like XG (just 2-ply vs. rollouts using XG), and comparing different depths might give a good idea as to what the "margin of error" is for the lower depths. But I'm relatively new to backgammon, so if there's already been studies on these sorts of questions, I'm not too familiar with them, other than that XG has apparently been shown to be stronger than GNU.

* I recently came across a YouTube video (which I can't track down to link to yet) where someone invented a smaller version of BG (with something like 16 pips, 4-sided dice and 8 checkers per side), which actually was fully solvable by computers. Apparently, the computer could brute-force the whole map of possible game states, and calculate the exact equities from there.


r/backgammon • • 1d ago

Sometimes it's the little things...

Post image
8 Upvotes

Famous Miami plastic surgeon and known backgammon enthusiast, Lenny Hochstein trash talks me during the match with lines like "impressive rolls" and "thanks for trying so hard to lose" before posting this impressive result, lmao.

Maybe check your PR before running your mouth next time.


r/backgammon • • 1d ago

Board I've never seen before

0 Upvotes

Today while I was playing a friend I saw a board that neither one of us had ever seen before. Neither one of us took a picture unfortunately not that I would know how to post a pic anyway. My friend was on the verge of backgammoning me. I had a blot in the one spot of his inner board and he had two on the two spot as well as a third one also in his inner board. His throw allowed him to bear off the higher piece but a one on his other die forced him to hit me and leave both his pieces open. I landed on one and eventually hit his other one as well. As he was coming around the board he hit me again. So there I was, on the bump but his inner board was completely empty. He had two pieces in the outer board and the rest of my pieces were in my inner board. I had not borne any off. Has anyone ever seen this before? It seemed so bizarre that I felt it should have a name like scorigami.


r/backgammon • • 1d ago

How do advance better in Backgammon Galaxy

4 Upvotes

I have just started playing using Backgammon Galaxy. I played 15-20 years ago in university, but not in the rate I can play now. I've played around 1000 matches in BG, have 54% win rate, but my rating is going up and down like a big roller coaster. I play 1-game matches with relative low stakes, and usually I meet people with rating 1400 and below. Right now my PR is 1450, but a few days ago it was over 1600. When I play 1-game matches, you are not able to finish a game using the cube, so in other words, the chance of being unlucky and lucky increases. My PR is very rare above 6-8, also when I am unlucky. So my question is, am I really that bad? Or is the element of luck/unluck higher playing the way I do?


r/backgammon • • 1d ago

Played a great Backgammon game on Roblox called ChatGammon. My son and I play constantly.

Post image
0 Upvotes

r/backgammon • • 1d ago

Dutch tric trac: a backgammon variant where 1-2 is the best roll, all checkers start off the board, and you always play the low die first. I built a digital version.

0 Upvotes

In Dutch coffeeshops (where you don't buy coffee ;-) ) there’s usually a backgammon board on the table, but what people play on it is tric trac. Not the 17th-century French trictrac. It’s a Dutch variant on the standard backgammon board, with rules that change the game more than you’d expect. I couldn’t find a decent digital version, so I made one, and I’m curious what backgammon players think of the rules.

Rolls

  • 1-2 is “TricTrac”: you play 1, 1, 2, 2, 5, 5, 6, 6, eight moves in one turn.
  • Doubles use top and bottom: double 6 plays 6, 6, 1, 1. Double 3 plays 3, 3, 4, 4.
  • After a double or a TricTrac you roll again, but only if you managed to play the whole sequence.
  • You always play the lowest die first. No choosing the order.

Movement

  • All 15 checkers start off the board and enter in your first quarter.
  • You can’t move into your second quarter until all 15 have entered.
  • You can’t move into your home quarter until all your checkers have left the first quarter.
  • Maximum 5 checkers on one point.
  • Hitting works as usual: a single checker is sent off the board and has to re-enter. While you have a checker waiting to re-enter, your home checkers can’t move.
  • Bearing off needs the exact number. No using a higher die.

Ending

If the player who started bears off first, the other player gets one last turn. If they get all their checkers off in that turn, they win.

No doubling cube, no gammons. Matches are first to 1, 3, 5 or 7 games.

The forced low-die-first order is what makes it interesting to me. Because you can’t choose the order, a roll that would be fine in backgammon can get stuck here: the low die has to go first, and after that move the high die has nowhere to go. So when you place your checkers, you’re not just making points, you’re trying to make as many of your opponent’s rolls as possible play badly in that fixed order. The entry and quarter restrictions also mean the opening plays very differently from backgammon.

The app

Online against friends or random opponents, pass-and-play on one device, and five AI opponents. To be clear about the AI: it’s a hand-written evaluator with a one-turn search, not a neural net, so don’t expect GNU or XG strength. The two strongest levels are decent, but I’d be curious how strong players find them. Dice are rolled on the server and every move is checked there. There’s an ELO ranking with weekly seasons.

iPhone, iPad and browser. There’s a demo on the website you can play https://bitma.nl/trictrac420/. Free gets you one game a day against a friend and one against the easiest AI; beyond that it’s paid.

Has anyone here played tric trac in person? I’ve seen small regional differences, like the 5-checker limit and how the last turn is resolved, and I’d like to know which rules you grew up with.


r/backgammon • • 1d ago

3-1 Opening: Make Your 5-Point

0 Upvotes

A short lesson on the opening 3-1: play 8/5 and 6/5 to make your 5-point. It blocks your opponent's back checkers and gives your other checkers a safe landing spot. Remember: eight to five, six to five.

Lesson 1 with Lewis and Joanna:
https://youtube.com/shorts/Ol_CjuSXWu0

Free backgammon. No clutter, no gimmicks, easy for beginners. Completely FREE. No frills, pure enjoyment. No email or password needed.

Play here: https://thegammonlounge.com


r/backgammon • • 3d ago

Six-year-old with a strong personality faces a hard truth

Post image
2 Upvotes

r/backgammon • • 3d ago

Put completed game into Extreme Gammon

4 Upvotes

If I play a live game with a friend and keep a paper trail of all the rolls and moves how can I import that into Extreme Gammon (or any other engine) and have it analyzed? Or can’t I?


r/backgammon • • 3d ago

New Open Sage engine release with speed improvements: open source backgammon engine

12 Upvotes

The impressive results coming out of Galaxy with their new engine led to the somewhat embarrassing conclusion that their engine was materially faster than Sage's.

Fortunately we've all got access to the same astonishingly strong AI coding agents, and so I took a few passes at speeding up Sage with the newest generation.

Compared to yesterday, Sage 2P is now 23x faster; 3P is 5x faster; 4P and 1T are both 5x faster; and 2T and 3T are 4x faster than they were before. Full rollouts are more than 3x faster!

That makes them all significantly faster than Galaxy's engine at a comparable evaluation strength, based on the gammon.ai posted results. At least for now, until the Galaxy folks do another round of optimizations (over to you, Marc Olsen!). It's our little backgammon version of the frontier AI lab race. We're definitely well into recursive self-improvement. :)

You can download the engine and its code directly from its github page, or you can pip install the bgsage Python package.

And of course these speedups are already deployed in Backgammon Sage Pro and Backgammon Sage Snap! Live on the web and mobile now. Update your desktop apps to pick it up.

Open Sage is released under the Mozilla Public License 2.0. That basically means anyone can use it, even for commercial purposes, but they have to release any changes they make to Open Sage back to the community. Using Open Sage in your commercial product does not require you to open source your own product - MPL 2.0 isn't that kind of open source license.


r/backgammon • • 3d ago

Best phone stand for videoing a match?

2 Upvotes

I want to get a stand that I can attach my iPhone to, so I can position it over the board and video my match.

I've seen a bunch of these around - what makes one better or worse? What are the best products?


r/backgammon • • 3d ago

Estimating win and loss % so I can figure equity

1 Upvotes

Hi. Just to introduce myself, I'm dadonatrain. Old railfan and backgammon fan in South Carolina.

I just joined Reddit and I'm still mostly in over my head! But I did it because it seems to provide a lot of current message forum activity on backgammon and I want to ask some questions aimed at strengthening my novice ability with the game.

I learned 60+ years ago and I still know the basics, but I can see that the modern theories about the game, aided by the availability of supercomputers, have vastly outpaced my 60 year old knowledge.

My first question is: How do you estimate win and lose percentages while a game is underway, so you can figure the equity of the current position or the moves you are considering? I know how software does it but I don't know how to do it manually in play without knowing the parameters to use.

I know what equity is, I understand the math, and I think I'm learning how to use it in play. But I don't know how to get numerical values to use in the equations.

Any help at all will be gratefully appreciated!

dad


r/backgammon • • 4d ago

Backgammon board made with preserved ferns and lilies under resin

Post image
65 Upvotes

r/backgammon • • 3d ago

Improving computer opponents in mobile backgammon game

Post image
0 Upvotes

I have an iOS game called Gammon Club that started with three difficulty levels of computer opponents (besides friends/in-person), all hand-written using rules of thumb about blots, points and primes, plus a bear-off table. Hard plays a decent game, but it still felt too easy and you can feel where its rules run out.

I recently added Expert by training a small neural network that learned by playing itself in about seven million games, the way TD-Gammon did in the 90s, with a three-move look-ahead on top. It beat Hard about 73% of the time, and I thought I was done.

It was harder than my Hard level, but I still beat it more than I expected, so I measured it properly. I built GNU Backgammon and had the two play thousands of games. Checker play held up, within a couple of points. With the doubling cube, though, Expert won only about 46% of five-point matches. More training, bigger networks and hand-built inputs all hit the same ceiling.

The obvious fix is to use a proven engine, and that is mostly a licensing question:

  • eXtreme Gammon is the gold standard, but it's a closed commercial product with no way to license or embed it.
  • GNU Backgammon is GPL, which doesn't fit a closed-source App Store app. I can benchmark against it, not ship it.
  • Open Sage, which I just heard about thanks to ChatGPT researching for me, is MPL-2.0, weights included, so it can ship.

In my tests Open Sage played level with GNU Backgammon and beat my Expert 56% of the time in five-point matches. It's super fast on my iPhone 16 Pro (and I made sure it's not too slow on my very old iPad as well). It's now running inside the app, and it becomes the Expert level in the next release.

The most fun part of adding this is that I can now implement a pretty solid "Review my last move" function, and also a win probability as you play. I wonder if people like seeing that sort of thing, or does it take a bit out of the fun of the game? In any case, the review function is only after your move, so no one can use it to cheat of course. It's a fun way to play and learn at the same time.


r/backgammon • • 3d ago

Yalla Tawla! Mobile app

0 Upvotes

Hi everyone 👋

For a while now I’ve been working on a game: Yalla Tawla! 🎲☕ Tawla, the Lebanese way.

•⁠ ⁠A story mode across Beirut: Raouché, Gemmayze, Hamra… and every area has a boss you need to beat

•⁠ ⁠A coffee cup every day that tells your fortune 😄

•⁠ ⁠Play online, with your friends or your family back in Lebanon through a link, or against the computer, even with no internet

📱 iPhone: https://apps.apple.com/app/id6821758550

🤖 Android:https://play.google.com/store/apps/details?id=app.yallatawla

On PC you can play it at: www.yallatawla.app

It´s completely free ! I hope you enjoy it !

Win 10 games before 29 Nov for the Independence Day board 🎲

And the Christmas update is coming soon 🎄


r/backgammon • • 4d ago

New free web based FIBS client

3 Upvotes

I have been working a new web based FIBS client that I hope will work well on both mobile and desktop devices. Give it a try and let me know what you think.

https://pocketfibs.fly.dev/


r/backgammon • • 4d ago

Precision dice for tournament use

5 Upvotes

Hello! I have a question for anyone who's played in tournaments. I'm finally getting around to buying a good board so I can play in clubs and tournaments, but it didn't come with precision dice. Are clubs and tournaments usually picky about particular brands? As in, will I probably be fine if I get the cheap Bescor precision dice from Amazon, or should I spring for the more expensive ones from Backgammon Galaxy or Ace Point? Any other tips for first-timers at a tournament would be great too!

UPDATE: Thank you all for your help! Backgammon Galaxy ended up having a good Black Friday sale, so I went with a couple pairs of those since they were now just a few bucks more than the Amazon ones. Looking forward to trying them out!


r/backgammon • • 5d ago

70’s Dior Backgammon Set

Thumbnail
gallery
90 Upvotes

Found this 70s Dior Backgammon Set at my grandmother’s house in Mexico City! It needs some restoration but it’s beautiful!