Dots and Boxes Strategy: How to Win Every Time You Can

A notebook and pencil with pencil-and-paper puzzles
Photo: “Wikipedia notebook pencil puzzles” by Anntinomy · CC0 1.0 · via Wikimedia Commons

Short answer

To win Dots and Boxes, never draw the third side of a box until you have no choice, then think in chains: when you take a long chain, use the double-cross by leaving the last two boxes for your opponent so they must open the next chain. You can practise against the computer or a friend on our free Dots and Boxes.

Dots and Boxes is the pencil-and-paper game many of us played at school. It feels random at first, but it has one of the most surprising strategies of any simple game: sometimes the winning move is to give away boxes. This guide explains the rules and then the three levels of strategy, from beginner to expert.

The rules of Dots and Boxes

The rule that you must move again after closing a box is the key to the whole game. Taking a box is not always free: it forces you to draw another line, and that line might give your opponent something bigger.

Level 1: never draw the third side

A box with three sides drawn is a gift: the next player closes it. So in the early game, the only rule you need is: do not draw the third side of any box. Draw lines that leave every box with at most two sides. Count sides carefully before each move, especially near the edges, where boxes share fewer lines.

Eventually every remaining line will draw a third side somewhere. That is when the real game starts.

Level 2: think in chains

By the time every move gives something away, the open boxes form chains: rows of boxes linked so that once one box is opened, the next player can take the whole chain one box after another. Chains can be short (one or two boxes) or long (three or more boxes). Closed loops of boxes are called cycles.

The basic rules for this stage are:

  1. When you are forced to give something away, open the shortest chain.
  2. When your opponent opens a chain, take the boxes, then see what you have to open next.

This simple plan beats players who open chains at random, but it still loses to a player who knows the next idea.

Level 3: the double-cross

Imagine your opponent opens a chain of four boxes, and after it there is a chain of six left. If you take all four, you must then draw another line, which opens the chain of six for your opponent. You win 4 and lose 6.

Instead, take the first two boxes and then stop. Draw the line at the far end of the chain, leaving the last two boxes joined together with the line between them missing. Your opponent takes both boxes with a single line, and now they have to move again and open the chain of six for you. You gave up two boxes to win six. This "all but two" move is called the double-cross, and it is the heart of expert play.

For a cycle (a closed loop), the same idea works with four boxes: take all but four and leave them for your opponent.

Level 4: the fight for control

Once both players know the double-cross, the game becomes a fight over who has to open the first long chain. The player in control of the long chains can keep using the double-cross on every chain except the last, taking the last chain completely. Experts plan the number of short chains and sacrifices early, so that their opponent is the one forced to open the first long chain. There is a known counting rule for this, called the long chain rule, described in Elwyn Berlekamp's work on the game, but you do not need it to beat most opponents: simply knowing about chains and the double-cross puts you far ahead.

Tips for each board size

BoardBoxesWhat to focus on
3 × 39Quick games. Practise counting sides and never giving a free box.
4 × 416The usual size. Chains form clearly, so practise the double-cross.
5 × 525Long games with many chains. Plan which chain you will open first.

Play against the computer

Our Dots and Boxes computer always takes a free box and refuses to give one away until it has no other line. That makes it a good opponent for learning level 1 and 2 play, and a great test for the double-cross: if you can make it open the long chains, you will win. Friend mode lets two players share one phone or computer. For another quick strategy game, try our guide to winning tic-tac-toe and the tic-tac-toe game.

Frequently asked questions

Who wins Dots and Boxes?

The player who claims more boxes when every box has been completed.

Do you have to go again after completing a box?

Yes. Closing a box means you must draw another line, which is why taking boxes is not always good.

What is the double-cross in Dots and Boxes?

When taking a chain, you leave the last two boxes for your opponent so they must open the next chain for you.

What is the best first move?

Early moves matter little; just avoid drawing the third side of any box.

Can you play Dots and Boxes alone?

Yes. Our version lets you play against the computer, or with a friend on one device.

Sources

💙 If VSH helps you, please share it and help us improve.