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 • • 6h 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 • • 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 • • 10h ago

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

Thumbnail
youtube.com
0 Upvotes

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