SlayArcade
Guide

How to Solve Dots and Boxes Puzzles

6 min read

Read the goal, sort the open boxes into chains and loops, count the safe lines, and choose the line that leaves your rival nothing safe to draw. The puzzles are the last part of a Dots and Boxes game with a perfect rival, so the same few ideas solve every one. This guide walks through them in the order you need them.

Dots and Boxes Puzzles cover artPlay Dots and Boxes Puzzles

Read the goal before you read the board

The goal above the board gives two numbers: how many of the open boxes pass the puzzle and how many earn three stars. If it says Win 5 of 9 and 7 for three stars, the rival can be held to two boxes and you cannot do better than seven. A puzzle with a small gap between the two numbers is forgiving. A big gap means the first move matters a lot.

Next count the open boxes and look at which ones are already closed. Dark boxes are out of the game and belong to nobody, so ignore them. Everything that is left will be won by you or by the rival, and every box you give away is a box for the other side.

Sort what is left into shapes

Once no safe lines remain, the open boxes fall into shapes. A chain is a row of boxes with two sides drawn each, joined end to end. A loop is a ring of them. A box on its own with two sides drawn is a chain of one. A chain of three or more is long, and one or two boxes is short.

Trace each shape with a finger. It helps to count the lines that are still open inside it, because opening any one of them hands the rival the whole shape. If a box has three sides drawn at the start, it is already on offer and you can take it, but check before you do whether taking it forces you to open something next.

Count the safe lines

A safe line gives no box its third side. While safe lines remain, neither player wants to open a chain, so the early part of a puzzle is a quiet contest about who will run out of safe lines first. The player who has to move when none are left must open a shape for the other.

Count the safe lines and then think about how each of them changes the count. A line next to a box with one side drawn gives that box a second side, and every other line around it becomes unsafe. So one move can remove two or three safe lines at once, and the move that removes the right number is often the winning one.

In the puzzles you are the one who has to find that move. If you can leave the rival with no safe line, the rival opens the first chain and you collect it. If you cannot, look for a way to change who runs out by giving up a box on purpose.

When you must open a shape, open the smallest

When it is your turn and every line is unsafe, you have to open something. In most end-game positions the best choice is the smallest shape available, because it hands the rival the fewest boxes. A single box costs one point, a chain of two costs two, and a loop of four costs four if the rival keeps control.

This rule is a guide, not a law. Sometimes opening a longer chain first keeps a better shape for later, which is what the Sacrifices chapter is about. When you are unsure, count the boxes you give away on each choice and the boxes you will get back if the rival opens something afterwards.

Giving boxes away to keep the move

The double-cross is the main way a puzzle turns around. Suppose the rival opens a chain of four and another long chain waits elsewhere. Taking all four boxes leaves you to open the second chain. Taking two and leaving two, by drawing the line at the far end of the chain, gives the rival two boxes but forces the rival to open the second chain for you.

A loop costs more to decline than a chain: you give back four boxes instead of two. If the position has loops, count that extra price before you decide that keeping the move is worth it.

On a short chain of exactly two boxes there is a related trick. Opening it at one end lets the other side decline with a double-cross. Opening it in the middle gives the two boxes away with no such option. Choose the middle when you want the rival to take them and then move.

Why the first move often looks wrong

A simple rule says: draw a safe line, and take every box you are offered. The game checks that rule before it shows you a puzzle and prefers positions where it does not reach the best result. So in many puzzles the move that looks natural is the one that loses a star or two.

When you cannot see the win, try a line that looks careless: a sacrifice, an unsafe line that costs one box, or a move that makes the number of safe lines odd or even in a different way. Then follow the rival's reply with your finger. A puzzle only asks you to look a few moves ahead, and trying the strange move is the quickest way to find the one that works.

Use Hint and Try again as teachers

Hint shows the best first line, but a puzzle with a hint is limited to two stars. Use it when you are stuck, then play the rest yourself and ask why that line works. After a loss, Try again restarts the same position, so you can test another idea without the board changing under you.

There is no Undo inside a puzzle on purpose. A single wrong line can decide the result, so take a last look at the board before you tap. When you finish with fewer stars than you wanted, press Try again and test a different first line.

Quick answers

What does the three-star number mean in Dots and Boxes puzzles?

It is the most boxes you can win against a perfect rival, worked out by an exact solver before the puzzle is shown. Reaching it earns three stars. One box short earns two stars, and winning more of the open boxes than the rival earns one.

Is there a time limit or an Undo in the puzzles?

No. Puzzles have no timer. They also have no Undo, because a single line can decide the result, so look before you tap. Try again restarts the position as often as you like.

Why does the rival in the puzzles never make a mistake?

The rival is an exact solver. It checks every way the remaining lines can be drawn and picks the reply that is best for it. That is why every puzzle is a fair test: the best you can do is the three-star number.

Does using a hint cost me anything?

A hint shows the best first line, and a puzzle with a hint is limited to two stars. You still keep any points for the stars you earn, and your best result for the puzzle is saved on the device.

Practise it now

Put the advice to work in Dots and Boxes Puzzles, free in your browser with no download or sign-up.

Play Dots and Boxes Puzzles

More guides

All guides
YOUR SLAYARCADE PLAYER

What should we call you?

One name for every game. Competitive games, the ones marked with a trophy, put you on their weekly leaderboard automatically when you finish a run.

You can change your name anytime. Your player ID and scores stay the same on this browser. Use a nickname, not your full name.