← Learn backgammon

Colossus against eXtreme Gammon at 2-ply

HedgeHog's Colossus engine played 20,000 cubeful money games against eXtreme Gammon 2.10, both searching at 2-ply. The result, how luck was taken out of it, and every game to check for yourself.

#The result

Colossus, HedgeHog's strongest engine, played 20,000 cubeful money games against eXtreme Gammon 2.10, the reference program most strong players analyse with. Both engines searched at 2-ply, and Colossus won by 0.033 points per game.

Points per game, Colossus minus XG Estimate 95% interval
Luck-adjusted +0.0327 +0.0232 to +0.0422
Raw +0.0469 +0.0015 to +0.0922

The luck-adjusted interval stays well above zero, so the margin is not the dice. At the plain network level, with no lookahead on either side, Colossus beats XG's networks by 0.050 points per game, and when both engines search the lead holds.

#What was played

  • Money games with the cube, Jacoby and beavers off, cube limit 64.
  • Both engines at 2-ply in eXtreme Gammon's counting: every candidate play checked against all 21 of the opponent's possible replies. Cube decisions were made at the same depth on both sides. (HedgeHog's analysis normally looks one turn further ahead on a cube decision. Here Colossus was held to XG's depth.)
  • XG played as itself. Every XG move and every XG cube action was eXtreme Gammon 2.10's own choice at its 2-ply setting, with the opening book off and analysis on a single thread, so that it gives the same answer every time.
  • Colossus played as HedgeHog plays, through the same decision code that analyses your matches, ranking moves by their value with the cube in play.
  • Colossus had White in every game. Who moves first is decided by the opening roll, so the colour gives no edge.
  • The number of games was fixed at 20,000 before the first game was played, and nothing was stopped early or run again.

#Taking the luck out

A single money game swings by about three points on average, almost all of it dice, so even 20,000 raw results leave an interval about 0.09 points wide. That is the raw row above, and on its own it cannot separate the two engines.

The luck-adjusted figure removes the dice. For every roll after the opening one, a fixed reference network works out what the roll was worth: the value of the best play with the dice that came up, minus the average over all 36 rolls. That is the roll's luck, positive when it helped the player who threw it. Each game's result has the luck of all its rolls subtracted, scaled by the cube in play at the time.

Luck depends only on the position and the dice, never on what either player then chose, and it averages to exactly zero over all possible rolls. So subtracting it cannot push the result towards either engine. It only removes noise: here it made 20,000 games as precise as about 455,000 unadjusted ones. The reference network was GNU Backgammon's, neither of the two contestants, so a reference that favoured one of them could not even be suspected. The same idea makes a rollout more precise: How backgammon engines evaluate positions explains it there.

#Dice nobody chose

A result is only as good as the dice it was played with. Anyone who controls the random numbers could run the match many times and publish the best one. So these dice came from drand, a public randomness beacon run by the League of Entropy, a group of independent organisations. The match used its quicknet beacon, which publishes a new signed random number every three seconds.

Before the match started, the round to be used was written down: round 33240112, due at 21:15:00 CEST on 20 October 2026. When it was published, its first sixteen hexadecimal digits (4b0035e84f27485e) became the seed of every roll in the match. Anyone can look the round up, and the dice of all 20,000 games follow from it alone. Nobody, the people running the match included, could have chosen them or tried several.

#How the games went

Colossus XG
Games won 9,946 (49.7%) 10,054 (50.3%)
Wins that were gammons or backgammons 20.5% 18.5%
Doubles offered per game 0.66 0.66
Doubles taken 65.6% 70.7%

Colossus won slightly fewer games than XG, but more of its wins were gammons, and it took fewer of the doubles it was offered.

#Where the points came from

Every game ends with a number of points for the winner: one for a single game, two for a gammon, three for a backgammon, all multiplied by the cube. Counting the games by that number shows where the margin landed. The last two columns split each row's net points into what the dice handed Colossus (negative when they favoured XG) and what is left once that luck is taken out.

Points won Colossus won XG won Net points to Colossus Of which luck After luck
1 2,359 2,615 -256 -182 -74
2 4,453 4,569 -232 -424 +192
3 10 15 -15 -11 -4
4 2,620 2,404 +864 +550 +314
6 80 76 +24 +13 +11
8 364 320 +352 +184 +168
12 12 6 +72 +66 +6
16 39 45 -96 -80 -16
32 7 4 +96 +82 +14
64 2 0 +128 +86 +42
All games 9,946 10,054 +937 +283 +654

The dice favoured Colossus by 283 points over the match, and its play earned another 654, the 0.033 points per game of the headline. Within the rows the luck moved a great deal. The two-point games look like a loss until the luck is taken out: XG had 424 points of luck in them, and after luck they are a gain of 192 for Colossus. The four- and eight-point games, the gammons and the doubled games won big, are where Colossus gained most, 482 points after luck between them.

The same games sorted by the cube in play at the end. (A game that ended with a double passed is counted at the cube value it was played for, before the double.)

Cube at the end Games Ended by a pass Colossus won XG won Net points to Colossus Of which luck After luck
1 5,333 4,935 2,527 2,806 -307 -224 -83
2 11,751 2,935 5,918 5,833 +544 +120 +424
4 2,550 482 1,305 1,245 +356 +193 +163
8 312 63 167 145 +136 +44 +92
16 46 8 22 24 -48 -43 -5
32 6 1 5 1 +128 +108 +20
64 2 0 2 0 +128 +86 +42

Games that never got past the first double are nearly all doubles that were passed, and there XG comes out ahead: Colossus passed 34.4% of the doubles XG offered it, where XG passed 29.3% of Colossus's. Once a double was taken and the game went on, Colossus took over: 424 points after luck at a cube of 2, 163 at 4 and 92 at 8. Above that there are too few games to read anything into, and the dice dominate them.

Read the rows with one caution. Only the total is a fair measure of skill. A row is chosen by how the game ended, and both the dice and the play decide that: a game Colossus won big is partly in the four-point row because it was lucky, and a double Colossus passed puts its game in the first row of the cube table. So the rows show where the points landed, not which kind of position either engine plays better.

#Check it yourself

Everything needed to check the result is in one download: colossus-vs-xg-2ply.zip.

  • All 20,000 games as .mat files, which GNU Backgammon, eXtreme Gammon and most other programs can open. Counting who won what reproduces the raw result exactly.
  • The beacon round and the seed, with verify_dice.py, a short Python script that regenerates every roll of every game from the seed and checks it against the files.
  • The source of the luck calculation, which replays every game, checks that every move is legal and that every result matches the board, and recomputes both rows of the table above.
  • A summary of each side's error rate in the match, as eXtreme Gammon 2.10 scores it at 2-ply.

The reference network for the luck figures is GNU Backgammon's, so GNU Backgammon's own analysis of these files reports a luck figure for every roll as well, an independent check. It computes luck with its own settings, so its figures come close to these rather than matching them digit for digit.

#What this does not show

This is one depth and one kind of play: money games at 2-ply against eXtreme Gammon 2.10. Matches to a fixed length, where the score changes every decision, are a separate comparison, and Colossus wins those too. Deeper search, where both engines see further and the margin may move either way, is the next one. The error rate of either engine is a different question again: an engine can lose individual decisions to another and still win the games.