Pocket Games

Dots and Boxes

Dots and Boxes is the margin-of-the-exercise-book game everyone played at school and almost nobody played well. It has a real strategy, and it comes down to a sentence that sounds absurd: at some point you have to refuse two boxes in order to take ten.

The rules

A grid of dots. Players take turns drawing a segment between two neighbouring dots. Whoever completes the fourth side of a box claims it — and plays again. You continue until the grid is full; whoever has more boxes wins.

On Pocket Games

Before you start you pick Versus bot or 2 Players on the same phone. Against the bot the grid is always 5×5, meaning 25 boxes and 60 lines, and you choose the difficulty; two players choose between 4×4 and 5×5. Who draws the first line is picked at random every game. With 25 boxes a draw is impossible; the 4×4 has 16 and can end 8–8.

LevelHow the bot plays
EasyDraws any line at random.
MediumTakes every box that is ready, then picks lines that leave no box with three sides; once there are none left, it opens at random.
HardLike medium, but when forced to open it tries every line and gives away the chain that costs it the fewest boxes.

The three phases of a game

Phase 1: the safe moves. At the start almost every line is harmless. A line is safe if it leaves no box with three sides, meaning ready to be given away. You keep going while such moves exist.

Phase 2: who runs out first. At some point every available move opens something. Whoever is forced to move first loses control, and the game is very largely decided here: the number of safe moves available, and who exhausts them first, is what strong players count from the beginning.

Phase 3: the chains. The grid has split into chains, sequences of connected boxes. Whoever opens a chain gives the whole thing to their opponent, who eats it and then has to open the next one. From here the game is already decided, and knowing how it works is everything.

The double cross: the move that wins games

Here is where almost everyone gets it wrong. Your opponent has opened a chain of, say, five boxes. Instinct says: take them all. But if you take them all, you are the one who has to open the next chain, and you hand it over.

The right move is to take only three and leave the last two, closing them with a single line that puts both at your opponent’s disposal. They are forced to take those two boxes, and then it is their turn to open the next chain.

You have given away two boxes and bought control for the rest of the game. With several long chains on the board, this move — the double cross — changes the result by ten or twenty boxes.

When not to do it: if that was the last chain, take everything. The sacrifice exists to pass the turn, and on the final chain there is nothing left to pass.

The parity rule

There is a way to know in advance who will win, and strong players use it to decide their opening moves. In short: count the long chains (three boxes or more) that are forming. You want their number to be even if you moved first, odd if you moved second — because that is how the last chain, the one you take without giving anything back, falls to you.

You do not need to calculate it perfectly: it is enough to notice whether it suits you to create one more long chain or one fewer, and in phase 1 there is still plenty of time to steer it.

Frequently asked questions

Should I always take every box available?

No, and this is the central concept of the game: giving up the last two boxes of a chain forces your opponent to open the next one. On grids with several chains, anyone who does not do it loses.

Does the bot know this strategy?

Partly. From medium up it always takes the boxes it finds ready, and on hard, when it is forced to open, it gives away the shortest chain. But it never plays the double cross: open a chain for it and it eats the lot, and then it has to open the next one. That is its weak spot, and it is worth exploiting.

Does my record survive if I change phone?

Yes, if you sign in with your account: the highest number of boxes closed against the bot, per difficulty, is stored there, and between two devices the higher one wins. The win, draw and loss count stays on the phone you played on.

Can I stop a game and resume it later?

Yes. When you leave, the game stays saved, two-player games included, and next time it is waiting at the top of the start screen. If it was the bot’s turn, the bot moves first.

More games to try

See the full list of games, or open Pocket Games in your browser: they are free and you don’t need an account.