Dots and Boxes Strategy: Chains, Control and Win Streaks

Updated October 2026

Dots & Boxes looks like a doodle from the back of a school notebook, but it is a deep strategy game. On this board you face a computer opponent on a grid of sixteen dots and nine boxes, and your score is how many matches you win in a row. The opponent gets tougher as your streak grows, so the tricks that win the first match stop working by the sixth. This guide explains the theory that matters on a small board, how this particular opponent thinks, and how to keep a streak alive.

The board and the streak

Twenty-four line slots sit between the dots: twelve across and twelve down. Drawing the last of a box's four sides claims it, and you must immediately draw another line. Any line that claims no box hands the turn over. With nine boxes, five is always enough to win, and a draw is impossible.

Your streak counts consecutive wins. After a victory, the New button on the result card starts the next match and keeps the count. A defeat wipes it back to zero, and so does the New button in the top bar, so avoid touching that one mid-streak. Saving to the Hall of Fame is offered only after a victory, which makes the win screen the moment to record a personal best.

Why going second is an advantage

The computer draws the first line of every match, which means you are always the second player. That is good news. An exhaustive search of every position on this board, using exactly the game's rules, confirms that if neither side ever errs, the player moving second finishes ahead six boxes to three, whatever the first line is. Every match is therefore winnable in principle; losses come from mistakes, not from an unlucky draw.

The catch is that perfect play is not obvious. Early lines feel meaningless, but they decide the shape of the board, and that shape decides who is forced to give away boxes at the end.

Safe lines, chains and the endgame

A line is safe if it does not create a box with three sides drawn. Unsafe lines hand your opponent a free box and an extra move. In the opening both sides draw safe lines, and eventually there are none left. At that point somebody must open a region of the board, and the boxes in it start to fall.

Those regions are usually chains: corridors of boxes where taking one exposes the next. A chain of three or more boxes is called long. Whoever is forced to open a long chain normally loses most of it. On a board with sixteen dots, the standard rule of thumb is about parity: when the safe lines run out, you, as the player moving second, are hoping to see an odd count of long chains. One or three is good for you; two is good for the computer. A closed ring of boxes, called a loop, behaves differently and tends to help whoever is not forced to open it.

While safe lines remain, your job is to steer the chain count. Joining two short runs into one longer corridor, or cutting a potential second corridor into fragments of one or two boxes, are the main tools.

The double-cross

When your opponent opens a long chain for you, the greedy move is to take every box. Often that is a mistake, because after the last box you must draw again and may have to open the next chain yourself. The stronger play is to take all but two boxes, then draw the line at the far end of the remaining pair instead of splitting them. That leaves two boxes joined together, which your opponent takes with a single line, and then they are the one forced to open the next region. You give up two boxes to keep control of everything that follows. On a nine-box board one well-timed sacrifice like this is often the whole match.

How the opponent changes with your streak

Matches one and two. The computer grabs any box it can complete, but otherwise picks lines at random. It never asks whether its line leaves a box with three sides, so it regularly gifts you squares. Collect every gift and keep your own lines safe.

Matches three to five. It now only draws safe lines while they exist, and when none remain it opens whichever region gives away the fewest boxes. Once twelve or fewer lines are left, it calculates every possibility perfectly. Before that point it still chooses among safe lines at random, so the middle of the match is where you must take charge. In a simulation of both sides drawing random safe lines until twelve remain, the resulting position was a theoretical win for you only about half the time. Spend that phase deliberately shaping the chains.

Match six onward. The perfect calculation begins with sixteen lines still undrawn, so only the first eight lines of a match are random from its side. After that, every move it makes is the best available, including double-crosses. You need to arrive at that point with the right chain structure and then play precisely.

One habit of the computer stays useful at every level: before its perfect search takes over, it always grabs a box the moment one is available. It never declines a gift during the opening, which makes its turn order predictable after a sacrifice.

Common mistakes

A practice plan

  1. Win the first two matches by playing only safe lines and collecting the computer's gifts.
  2. In matches three to five, pause when about half the lines are drawn and count the corridors forming.
  3. Aim for an odd number of long chains before the safe lines run out.
  4. Practise the double-cross every time a chain of three or more is handed to you, even if you would have won anyway.
  5. From match six, slow down. Every line matters, and a single careless one ends the streak.

Dots & Boxes rewards looking at the whole board rather than the single square you could take right now. Learn to count chains and to give away two boxes at the right moment, and the long streaks become realistic.

▶ Play Dots & Boxes Outplay the AI and grow your win streak.