← Backgammon against the computer

Backgammon Strategy: Opening Moves, Blots, Primes and the Race

Every number on this page is either counted exactly over the 36 rolls of two dice or measured by simulating the game with this page's own code — its rules, its three computer levels and its way of scoring. How many games or positions stand behind a figure is said next to it.
The short answer

Backgammon is a race with collisions, and three habits decide most games: play the opening rolls the standard way, count how many of the 36 rolls hit any blot you leave, and know the pip count. A blot six pips from an enemy checker is hit by 17 rolls out of 36; one seven pips away, by only 6. In a pure race being on roll is worth about four pips: with equal counts the side to move wins about 60 games in a hundred.

The fifteen opening rolls

The first roll of a game is never a double here — equal dice are thrown again — so the first move is always one of fifteen rolls. Opening theory was settled by computer rollouts of millions of games, and for most rolls it is not in doubt. Points are numbered as on the board: you move from 24 down to 1, the 13-point is your midpoint, the 7-point is the bar point and the 5-point is the golden point.

RollStandard modern playHardExpert
3-18/5 6/5 — makes the 5-point8/5 6/58/5 6/5
4-28/4 6/4 — makes the 4-point8/4 6/48/4 6/4
5-38/3 6/3 — makes the 3-point8/3 6/38/3 6/3
6-113/7 8/7 — makes the bar point13/7 8/713/7 8/7
6-524/13 — runs a back checker to the midpoint24/1313/7 13/8
6-424/14, 24/18 13/9 or 8/2 6/2 — close in value8/2 6/28/2 6/2
5-424/20 13/8 or 13/8 13/913/8 13/913/8 13/9
6-224/18 13/11 (13/5 is also played)13/513/5
5-124/23 13/8 (13/8 6/5 is also played)13/8 6/524/23 13/8
6-324/18 13/10 or 24/1513/413/4
5-213/11 13/813/613/8 13/11
4-324/20 13/10, 13/10 13/9 or 24/21 13/913/613/9 13/10
4-124/23 13/913/813/8
3-224/21 13/11 or 13/11 13/1013/813/10 13/11
2-113/11 24/23 or 13/11 6/513/1013/10

Hard follows theory on the rolls that make a point (3-1, 4-2, 5-3, 6-1) and on 6-5. Where it parts company, it never splits its back checkers. With 4-1 and 3-2 it plays 13/8, with 5-2 and 4-3 13/6: one checker onto a point it already owns, no blot at all. With 6-3, 6-2 and 2-1 it brings a single checker down from the midpoint (13/4, 13/5, 13/10) rather than splitting or bringing down two builders. Its evaluation charges every blot by its chance of being hit, and with one move of look-ahead that charge outweighs everything else. Theory goes the other way: early in the game a hit costs little, and a builder that may make a new point next turn is worth the risk. Expert looks one move further and comes round to theory on four of those rolls: 13/8 13/11 with 5-2, 13/9 13/10 with 4-3, 13/10 13/11 with 3-2 and 24/23 13/8 with 5-1. It keeps Hard's quiet answers to 6-3, 4-1 and 2-1, and with 6-5 it brings two builders down (13/7 13/8) instead of running.

Easy chooses at random among plays its simple count rates as equal: with 6-5 it ran 24/13 in 24 of 60 trials, with 6-1 it made the bar point in 37 of 60. Expert's column is its full search, which a typical desktop browser finishes in well under a tenth of a second; a slow phone may run out of its one-second budget earlier and answer some rolls differently.

Blots: how many of the 36 rolls hit

A blot is hit when an enemy checker is exactly the right number of pips away and the roll contains that number — either on one die, or as the sum of both dice, or as a double played three or four times. Within six pips a single die is enough, and 11 of the 36 rolls contain any given number. From seven pips on, only combinations work and the count collapses. Counted exactly over all 36 rolls, with nothing in the way:

Distance in pipsRolls that hitChance
11131%
21233%
31439%
41542%
51542%
61747%
7617%
8617%
9514%
1038%
1126%
1238%
15, 16, 18, 20, 241 each3%
13, 14, 17, 19, 21–2300

A combination shot needs an open point to stop on along the way. Your own made points between the shooter and the blot therefore take shots away. A few exact examples:

Blot atYour points in the way (pips from the shooter)Rolls that hit
6 pipsnone17
6 pips316
6 pips2 and 414
8 pipsnone6
8 pips44
8 pips2 and 63
12 pipsnone3
12 pips61
  • Seven is the magic distance. Moving a blot from six pips away to seven cuts the shots from 17 to 6, almost three times fewer.
  • Close is not safer. A blot one pip in front of an enemy checker is hit by 11 rolls; one six pips away, by 17. Inside direct range the risk grows with the distance.
  • Two numbers are worse than one. Two blots at different direct distances are hit by at least 20 rolls of 36 — the 20 rolls that contain either number — before any combination is counted.
  • A hit far from home costs little. A checker hit on your 22-point loses only three pips; one hit on your 4-point loses 21 and has to travel the whole board again.

Hard and Expert price every blot of theirs and yours with exactly the open-board column of the first table; they do not subtract shots for points in the way.

Points, primes and the bar

The points worth most are the ones that block: your 5-point (the golden point), then the 4-point and the bar point. They sit right in front of your opponent's back checkers, and each of them takes away a number those checkers need. That is why the best opening rolls are 3-1, which makes the 5-point, 4-2, the 4-point, and 6-1, the bar point. The more points you hold in your home board, the harder it is for a hit checker to come back in. This is exact:

Points closed in your home boardA checker on the bar entersIt stays out (“dances”)Two on the bar: both enter
135 of 36 (97%)3%69%
232 of 36 (89%)11%44%
327 of 36 (75%)25%25%
420 of 36 (56%)44%11%
511 of 36 (31%)69%3%
60100%0

How much these structures are worth shows in simulated games. Below: how often an event happened, and how often the side that got there first went on to win — in 2,000 games of Expert against Hard and in 4,000 games of Easy against Easy. A prime counts only with an enemy checker still behind it.

EventExpert vs Hard: happened / first side wonEasy vs Easy: happened / first side won
A 4-point prime86% / 66%31% / 71%
A 5-point prime61% / 77%7% / 80%
A full 6-point prime28% / 85%1% / 37 of 38
The first hit of the game97% / 62%99% / 59%
A closed board with an enemy checker on the bar240 of 2,000 / 87%11 of 4,000 / 11 of 11
Hitting more often over the whole game1,615 games / 75%3,488 games / 68%

An anchor — two of your checkers on one point in the opponent's home — cannot be hit, and it makes a full closeout impossible: even if every other point of his home board is closed, you still enter with 11 rolls of 36, the ones that contain your anchor's number. An advanced anchor, on his 5- or 4-point (your 20- or 21-point), also takes away his best building points and gives your back checkers an easy way out; one on his 1-point still stops a closeout but blocks little else.

The race and the pip count

The pip count is the total distance your checkers still have to travel: for each point, the number of checkers times the point number, plus 25 for every checker on the bar. Both sides start at 167. An average roll moves 8⅓ pips (36 rolls, with doubles counted four times), so being the one to roll next is worth about half a roll — roughly four pips. Once the armies have passed each other, nothing but the race is left. We played 38,342 random no-contact positions to the end, both sides using the bear-off rule of the Expert level, and measured how often the side on roll wins:

The side on roll is… (as a share of its own count)Count 40–70 pips70–100100–130
behind by 10%46%38%34%
behind by 5%54%49%46%
level62%59%58%
ahead by 5%69%69%70%
ahead by 8%73%75%76%
ahead by 10%75%78%79%
ahead by 15%81%84%86%
ahead by 20%85%89%91%

So with equal counts the side on roll wins about 60 races in a hundred — the roll is worth 3–4 pips in races of 70–130 — and the lead at which it becomes a three-to-one favourite is about 10% of its count. The “8–10%” figure you may know from backgammon books is a doubling-cube rule: it marks where a race becomes strong enough to double, not where it is even. There is no cube here, so what you need is the table: ahead by a tenth on roll, you win about three games in four; behind by a tenth, about 35–45 in a hundred.

  • Ahead in the race: break contact, run, avoid hitting unless it is free. Every exchange of hits gives the trailer another chance.
  • Behind: keep an anchor or a back checker in his home and wait for a shot. Without contact, 20% behind with your opponent to roll leaves you about one race in eight.
  • Counting quickly: count the difference rather than both totals — checkers on matching points cancel out.

Bearing off: wastage beats pips

Pips are not the whole story at the end. A checker on the 1-point needs a whole die to come off, whatever the die shows; three checkers on one point need three dice. We computed the exact average number of rolls needed to bear off, with perfect play, for home-board positions of up to fifteen checkers, and compared positions with their pip counts:

Your home boardPipsRolls needed on averageEffective pips*
Two each on the 1-, 2- and 6-points, three each on the 3-, 4- and 5-points547.8864
Three checkers on each of the 2–6 points608.4669
Five each on the 1-, 2- and 6-points458.3568
Eight on the 1-point, seven on the 6-point509.1575
All fifteen on the 1-point156.9857
All fifteen on the 6-point9012.27100

* Rolls needed × 8⅓, the average roll: the pip count the position really plays like. The difference from the real count is the wastage.

  • A smooth board beats a lower count. The position with 54 pips spread over all six points comes off half a roll faster than one with only 45 pips piled on the 1-, 2- and 6-points.
  • Bring checkers in on the high points. Coming home, put them on the 6-, 5- and 4-points rather than playing deep to the 1 and 2: deep checkers waste big numbers later.
  • Fill gaps. While checkers remain above a gap, that number cannot bear a checker off and has to be played as a move inside your board.
  • The last checkers: one checker on the 6-point takes 1.25 rolls on average; two checkers anywhere take at least one roll, and two on the 6-point take 2.11.

Here the levels split in two. Once contact is over, Hard and Expert both switch to the plain count of pips and wastage; in 373 random bear-off decisions where the choice mattered they picked a play that is not the best only 13–14% of the time, and then lost about a twentieth of a roll. Easy keeps judging by blots and picked a worse play in 70% of them, about a fifth of a roll per decision. Over a whole bear-off it adds up: from the smooth 54-pip board in the table the best play needs 7.88 rolls on average, Hard and Expert 7.92, Easy 8.89 — a full roll, about eight pips, given away.

How to beat each level here

All three levels see every legal way to play a roll; they differ in how they judge the result. Hard checks your every reply one move ahead. Expert gives the eight best positions the same check and then looks one move further for the three best of those, over all 21 of your rolls. Its budget is up to a second, but a typical desktop browser finishes the whole search in well under a tenth of a second; only a slow phone may stop early and look at fewer rolls. Once contact is over, both play the race with the same plain count of pips and wastage. The extra depth buys less than its name suggests: over 2,000 games against each other Expert won 1,012 — 50.6%, give or take 2 points. The table shows how often a player with each style beat each level (who starts is decided by the opening roll, as in the game):

Your style of playvs Easyvs Hardvs Expert
Random legal moves0.3% (6 of 2,000)1 of 2000 of 200
Pure runner: always bring the rearmost checkers forward11%2%0.5%
Like Easy, but always hit when possible49%18%15%
Like Easy, but leave as few blots as possible43%19%15%
Easy50%19%17%
Hard78%—49%
Expert85%51%—

Against Easy, 2,000 games per line (4,000 for Easy itself). Against Hard and Expert, 200 games per line, 400 for Easy and for the levels against Easy, 2,000 for Expert against Hard. Expert was run with its full search, as a desktop browser plays it. Gammons and backgammons count as one win, as in the site score; random play lost 1,915 of its 2,000 games against Easy by a gammon or backgammon.

  • Easy looks only at the race count and at blots, and hits whenever hitting gains pips. It does not value points, primes or a home board, so it is beaten by building: make your 5- and 4-points, prime its back checkers and pick them off. Hitting back alone, as the “always hit” line shows, only makes it an even game.
  • Hard values points, primes and anchors and checks your every reply. It is weak in the opening, where it plays the quiet moves from the first table, and it prices blots without counting your blocking points. Take the tempo it gives you early: split, slot, build.
  • Expert sees one move further, which shows mostly in the opening, where it plays four of the standard moves Hard avoids, and against weak play: it beat Easy in 85% of games against Hard's 78%. Against each other the two are even. Play it as you would play Hard: keep an anchor when behind, so that a lost game stays a single game, and look for your chances in the middle game — a prime, a well-timed hit — before the race starts: in the bear-off both strong levels are close to perfect.
  • Playing a pure race when behind. Without contact, a tenth behind with the opponent to roll wins only about one race in four.
  • Hitting for the sake of it when ahead in the race: every exchange of hits gives the trailer another chance.
  • Stacking checkers on the low points while bearing in: a position can be ahead on pips and still lose the bear-off.
  • Giving up the anchor too early. While you hold a point in his home, you cannot be closed out.

Questions and answers

What is the best opening move in backgammon?

It depends on the roll. With 3-1 make your 5-point (8/5 6/5), with 4-2 the 4-point (8/4 6/4), with 5-3 the 3-point (8/3 6/3), with 6-1 the bar point (13/7 8/7), and with 6-5 run a back checker to safety (24/13). With the other rolls the standard plays move one checker down from the midpoint and either split the back checkers or bring a second builder down.

What are the odds of hitting a blot?

It depends on the distance. Within six pips the blot can be hit by a single die: 11 to 17 rolls out of 36, most at six pips (17, or 47%). From seven pips on only combinations work: 6 rolls at seven or eight pips, 5 at nine, 3 at ten and twelve, 2 at eleven.

What is the pip count at the start of a game?

167 for each side. Two checkers on the 24-point make 48, five on the 13-point 65, three on the 8-point 24 and five on the 6-point 30.

How likely is a checker on the bar to come back in?

Against k closed points in the opponent's home board, 36 − k² rolls out of 36 let it in: 35 against one point, 27 against three, 20 against four, 11 against five, none against a closed board.

Who is the favourite in a backgammon race?

The side on roll, by about four pips. In our simulations, with equal pip counts the side to move wins about 60% of races; with a lead of 10% of its count, about three races in four.

Is backgammon luck or skill?

Both. A single game can be decided by the dice, but over many games skill wins clearly: in our simulations a player who chose its moves at random won 6 of 2,000 games even against the Easy level.

Can you beat the computer at backgammon?

Yes. Easy does not value points or primes at all: sound positional play beats it most of the time (Hard won 78% of 400 games, Expert 85%). Hard and Expert are tougher, and they bear off almost perfectly, but both have known weaknesses: quiet opening moves and blots priced without your blocking points. Build points, keep an anchor when behind, and win the game before the race.

Play backgammon against the computer →
Where to go from here
To cite this page: “Backgammon Strategy: Opening Moves, Blots, Primes and the Race”, You vs Computer, https://youvscomputer.com/games/backgammon-strategy.html