Skip to the board
BARRELHEAD

Backgammon

First roll.

You play red. Each side rolls one of the dice, and the higher number goes first.

How to play

Steps left for all piecesYou:167The computer:167

Opponent
Start over?
Dice log

Nine rules and a pair of dice

Backgammon the way it is played across a table, one game at a time and without the doubling cube.

The board and the setup

Fifteen pieces each, set up the same way every game. You play red and the computer plays white, unless you swap the colors under Settings. Your pieces travel the same way round whichever color they are. The long triangles are called points. There are 24 of them, and each side starts on four.

Red travels from the top right to the bottom right. Your pieces go left along the top row, round the left side and back along the bottom row. The last six points, bottom right, are your home board. White goes the other way round and comes home in the top right.

The points are counted from where you are going. Your 1-point is the last one on your way home, in the bottom right corner, and your 24-point is where your two furthest pieces start, in the top right. You begin with two pieces on the 24-point, five on the 13-point, three on the 8-point and five on the 6-point. White's pieces mirror yours.

The backgammon board at the start, with fifteen red and fifteen white pieces. A chalk arrow runs left between the two rows of points, turns at the left edge and comes back to the right.
The start. Red goes the way the arrow does: left along the top row, round, and right along the bottom row.

Rolling and moving

One dice each decides who starts. The higher number goes first and plays those two numbers. Equal numbers are rolled again, so the first move of a game is never a double. After that, every turn is a roll of both dice.

Each dice is a move. With a 5 and a 3 you move one piece five points and another three, or one piece all eight. A double is played four times.

Two pieces hold a point. You can land on an empty point, on your own pieces, or on a single white piece. A point with two or more white pieces is closed to you, also as the stop in between when one piece plays both dice. There is no limit to how many of your own pieces can share a point.

You play as much of the roll as you can. If both dice can be played, both must be, even when you would rather leave a piece where it is. If either dice could be played but not both, you play the higher one. With a double you play as many of the four moves as you can. If nothing can be played, the turn passes.

Hitting and the bar

A single piece can be hit. Land on it and it goes to the bar, the strip of bare wood down the middle. The piece that hit may move on with the other dice.

A piece on the bar comes in first. It enters in the other side's home board, on the point that matches a dice: for you a 1 is the point in the top right corner and a 6 is the sixth point from that corner. Nothing else of yours may move until every piece on the bar is in.

If the points for both dice are closed, the turn passes. With two pieces on the bar and room for only one, that one comes in and the rest of the roll is lost.

Bearing off

With all fifteen home, you take them off. A dice takes a piece off the point with that number, counted from the right-hand edge.

A roll higher than your furthest piece takes that piece off instead. A roll lower than your furthest piece, with nobody on its point, has to be played as a move inside the home board.

You are never obliged to take a piece off when the dice can be played as a move instead, and you may play the smaller dice first.

A hit stops the bear-off. If one of your pieces is hit while you are taking pieces off, nothing more comes off until it has come in from the bar and gone all the way round to your home board again.

Red's home board with twelve red pieces in it and three already stacked beside the board. The dice show 4 and 2, and a chalk arrow carries a piece from the fourth point off the board.
Bearing off. The 4 takes a piece off the fourth point, counted from the right.

Winning

First to take off all fifteen wins. It is a gammon if the loser has not taken off a single piece, and a backgammon if the loser also has a piece on the bar or in the winner's home board.

Here a win is a win. When backgammon is played for points, a gammon counts double and a backgammon triple. On this board every game is one win or one loss in your record. The board tells you which kind it was, and there is no doubling cube.

Sources

Checked against the rules at Backgammon Galore and the U.S. Backgammon Federation guide that draws on them, and against the engine that runs this board. The one difference is the scoring: there is no doubling cube here, and every win counts the same.

Questions people ask

Can you pass, or skip part of a roll?

No. If there is a legal way to play the roll you have to take it, and you have to play as much of the roll as possible. You may not play one dice in a way that leaves the other unplayable when there is a way to play both.

The only time you pass is when nothing can be played. Then the board passes for you and says so.

What if only one of the two dice can be played?

Then you play that one. If either dice could be played, but playing one of them leaves no move for the other, it has to be the higher number. The board works this out and tells you which dice is still in play.

Can one piece hit twice in the same turn?

Yes. If the same piece plays both dice and a single white piece stands at each stop, both are hit. With a double it can go on hitting for all four moves.

Is hit and run allowed?

Yes. You may hit a piece with one dice and carry on with the other, to safety or anywhere else the piece can legally go. Some versions played in the Middle East forbid it inside your own home board. The standard game does not.

How many pieces can stand on one point?

As many as you like. The standard rules set no limit, though a version still played in England stops at five. When a point here gets crowded, the pieces are laid in a second layer on top of the first.

What happens to a piece that gets hit?

It goes to the bar and starts its trip over. It comes back in on the far side, in white's home board, and until it is in, none of your other pieces may move.

How long that takes depends on how many of the six points there are closed. Against three closed points, a piece on the bar fails to come in on 9 of the 36 possible rolls. Against four it is 16, against five it is 25, and against all six it cannot come in at all.

How does bearing off work when the roll does not match?

A dice higher than your furthest piece takes that furthest piece off. A dice lower than your furthest piece has to be played inside the home board, unless a piece sits exactly on its point.

You may play the two dice in either order, and that can matter. With pieces on your 6-point and your 4-point and a roll of 5 and 3, you can move the back piece from 6 to 3 with the three. Now the piece on the 4 is your furthest, so the five takes it off.

What is the difference between a gammon and a backgammon?

A gammon is a win before the loser has taken off a single piece. A backgammon is the same, with the loser also still having a piece on the bar or in the winner's home board. If the loser has taken off even one piece, it is an ordinary win, wherever the rest of the pieces stand.

What do the chalk numbers mean?

They are the pip counts: how many points each side's pieces still have to travel before all fifteen are off. Both sides start at 167. A piece on the bar counts as 25. The lower number is ahead in the race, which is not always the same as being ahead in the game.

Can you resign?

There is no resign button, but New game does the same job. It asks before it throws the game away, and a game you leave unfinished is not counted in your record.

Is backgammon luck or skill?

Both. The dice decide a good deal of any single game, and skill decides who is ahead after many. The levels on this page show it. Given the same dice, the strongest level here won 539 games of 600 against the weakest. That still leaves the weakest winning one game in ten.

Does the computer get better dice?

No. One roll is made per turn from the same source, whoever's turn it is, and the computer is never shown a roll before it is on the board. How the dice are made, and the numbers from 2.4 million rolls, are further down this page.

How games are won

Make points

Two pieces together cannot be hit, and white cannot land there. The points worth making first are your 5-point, your 4-point and your 7-point, in that order.

Three opening rolls make one of them at once. A 3 and a 1 gives you the 5-point and a 4 and a 2 gives you the 4-point, both with one piece from the 8-point and one from the 6-point. A 6 and a 1 gives you the 7-point, the first point outside your home board, with one piece from the 13-point and one from the 8-point. Nearly every strong player plays those rolls that way. At Expert the computer does too, because its first move of the game comes from an opening book. The lower levels work the opening out for themselves and often play something else.

Take your risks early

A piece hit in the first few turns has not come far and loses little. A piece hit late, when white's home board is full of closed points, can sit on the bar for the rest of the game.

Know what a lone piece is risking

A piece within six points of an enemy piece can be hit with a single dice, and it is hit by between 11 and 17 of the 36 possible rolls: 11 when it stands one point away, 17 when it stands six away. From seven points away the enemy needs both dice, and no more than 6 rolls in 36 do it.

So if a piece has to stand alone, put it more than six points from the nearest white piece that could come for it, or expect it to be hit between a third and half of the time.

Build a wall

Closed points next to each other block every roll that would land on them. Six in a row cannot be passed at all, and four or five in front of white's last two pieces will hold them for a long time.

Bring the two far pieces along

They start furthest from home, deep in white's home board. Move them up together while the way is open, or they end up behind a wall themselves. The start of the game is the cheapest time to split them, before white has made more points in its home board.

Read the chalk numbers

The number on your side of the board is how many points your pieces have left to travel, all added up. When the two sides have passed each other and yours is the lower number, stop fighting and run for home.

An average roll moves you a little over eight points, so a lead of eight is about one roll.

Ask for a second opinion

The Hint button shows what the computer would do with your roll at full strength. It covers the whole roll. If you have already played one dice, it shows the best way to go on from there, and says so when a better start was possible: Undo gives you the same roll back.

How the computer plays here

Five levels, one engine, and one pair of dice for both sides.

How it thinks

For every legal way to play its roll, the computer looks at the position it would leave and estimates its chance of winning from there. The estimate is built from hand-written rules of thumb weighed against each other: who is ahead in the race, which lone pieces can be hit and by how many of the 36 rolls, the points each side holds, pieces trapped behind a wall, pieces on the bar, and how the rest are spread out. Once the two sides have passed each other, only the race is counted.

It is not one of the neural networks that tournament players study with, and it does not play like one. Even at full strength its own search misplays two of the fifteen opening rolls: with a 4 and 2 it does not make the 4-point, and with a 5 and 3 it does not make the 3-point. So at Expert, and for the hint, the first move of the game comes from an opening book of the plays that published computer rollouts rate best. The four lower levels have no book.

All of this happens on your own device, in your browser.

Beginner

Looks no further than the position right after its own move. One move in ten is picked at random from everything legal. Otherwise it chooses freely among the moves it rates close to its best, and its idea of close is the widest of the five levels.

Easy

The same one-move view. It plays a random move about one time in seventeen, and it is a little pickier about what counts as close to the best.

Medium

Still looks only at its own move, but a random move comes just one time in fifty, and the moves it chooses among are closer together again.

Hard

Looks one roll further. For its four most promising moves it goes through all 21 different rolls you could throw next, assumes you answer each one as well as you can, and averages the result. It never plays a move at random, though it may still pick between moves it rates almost equal.

Expert

The same look-ahead for up to twelve moves instead of four. The best of those, four at most, are then taken one roll further: after your answer it goes through the 21 rolls it could throw next, and averages again. It always plays the move that comes out best, and its first move of the game comes from an opening book. On a device too slow to fit the extra roll into one second, it plays the move it had found without it.

The levels against each other

The levels have played each other in pairs of games. Both games in a pair used exactly the same dice with the colors swapped, so neither side could simply be luckier.

  • Easy against Beginner: 272 wins in 400 games, 68 percent.
  • Medium against Easy: 248 wins in 400 games, 62 percent.
  • Hard against Medium: 360 wins in 600 games, 60 percent.
  • Expert against Hard: 396 wins in 600 games, 66 percent.
  • Expert against Beginner: 539 wins in 600 games, 90 percent.

The steps are small because the dice decide so much of a single game. Beginner, Easy and Medium make mistakes on purpose. Hard and Expert do not. Measured on 9 October 2026.

What the hint is

The Hint button asks the engine with Expert's settings and a shorter time limit: the same look-ahead, the same opening book, and no randomness. It is the computer's best move, which is not always the best move there is.

How the dice are rolled

When a game starts, the page draws one random number. Every roll in that game is worked out from that number and the number of the turn: one roll per turn, from the same source, whoever's turn it is. The code that makes the roll does not know which side it is for.

The computer is handed the position and the roll that is on the board, and nothing else. It never sees a roll that has not been thrown yet, its own included. Because the rolls are fixed by the starting number, taking a move back gives you the same roll again. Undo cannot be used to fish for better dice.

On 8 October 2026 the same generator was run for 2.4 million rolls. Each of the six faces came up between 16.64 and 16.69 percent of the time, where a perfect dice gives 16.67. Doubles came up 16.66 percent of the time. The average roll was worth 8.170 points of movement on odd-numbered turns and 8.160 on even-numbered turns, against the 8.167 that fair dice give. Odd and even turns are the two players.

The dice in this game

Every roll of the game is listed here as it is thrown.

Why fair dice still feel unfair

Fair dice come in streaks, and a game is short enough for a streak to decide it. A game here runs to about thirty rolls a side. In thirty rolls the chance of throwing two doubles in a row somewhere is 51 percent, and the chance of three in a row is 10 percent.

The same goes for the rolls that do not come. A piece on the bar facing four closed points stays out four times in nine. Needing one particular number and missing it three rolls running happens a third of the time.

Both sides get these runs. Over a few games the dice will look unfair to somebody. Over the 2.4 million rolls above, they did not.

The other barrels

Checkers is the one where a jump has to be taken, and where a piece that reaches the far row becomes a king, two pieces high.

Shut the Box is nine numbered tiles and two dice: every roll has to be paid for with tiles that add up to it, and the lower sum left open wins.

Farkle is six dice and a race to 10,000: bank what a turn is worth, or roll again and risk losing all of it.

Yatzy is five dice and a scorecard, thirteen rows the American way or fifteen the Scandinavian: three rolls a turn, and every turn has to be written in a row, even when it is worth nothing there.

Dominoes is twenty-eight tiles and a line that grows at both ends: match a number, draw from the boneyard when nothing fits, and lay your last tile first.

Reversi has one kind of move: put a piece down so that it traps a row of the other color, and the row turns to yours.

Mancala has no dice and nothing hidden: you empty a pit, sow its stones round the board one at a time, and count what ends up in your store.

Chinese Checkers is a race across a star of 121 holes: marbles hop over one another in chains, nothing is ever captured, and the first side to fill the point opposite wins.

Nine Men's Morris is the old game of mills: nine pieces a side, three in a row along a line takes a piece off, and a side left with two pieces or no move has lost.

Tic-Tac-Toe is three in a row on nine squares, and next to it Ultimate tic-tac-toe, where every square holds a small board and each move decides where the next one is played.

Four in a Row is the standing rack laid flat: seven lanes of six places, a piece slides down its lane until it is stopped, and the first side with four in a row wins.

Chess is the old game of kings: six kinds of pieces that each move their own way, and a win when the other king is attacked and cannot escape.

Gomoku is five in a row on a board of fifteen lines each way: pieces go where the lines cross, and three in a row with both ends open has to be answered at once.

Ludo is the race with one die: a six brings a piece out of its yard, landing on another color sends that piece back, and the first side with all four pieces home wins.

No games played yet.

Red for the games you won, white for the ones you lost. Your record is kept in this browser and nowhere else.

Start over?