Dots and Boxes feels like a gentle doodling game for the first minute, then turns sharp very quickly. One careless line can hand your rival half the board in a single turn. The good news is that the game has a clear structure, and once you see it you stop losing boxes by accident and start winning them on purpose.
This guide walks through how a round really works on this board, why the middle of the game is a counting contest, how the famous double-cross trick works, and what each level of the Bot does on its turn. Every rule and bot behaviour below comes straight from how the game is built.
The board in numbers
The board is a square of 6 by 6 dots, which makes 25 boxes in a 5 by 5 grid. There are 60 lines to draw: 30 running across and 30 running down. Twenty of those lines sit on the outer edge and touch only one box each. The other 40 are inside the grid and each one is shared by two boxes. That difference matters, because an inside line can close two boxes in one go, and it can also put a dangerous third side on two boxes at once.
Your score is simply how many boxes carry your mark. With 25 boxes, 13 is enough to win, and since the total is odd a tie cannot happen. The counters above the board show both players' boxes live, and the player whose turn it is gets highlighted. When a line closes a box, a note pops up to remind everyone that the same player moves again.
How a turn really works
On your turn you draw one line between two neighbouring dots. If that line finishes the fourth side of one box, or two boxes at once, those boxes become yours and you must draw again. That second line is not optional. You keep going until you draw a line that closes nothing, and only then does the turn pass. So a single turn can be one line, or it can be twelve.
This is the whole engine of the game. Taking boxes always costs you a move afterwards, and that final move is the one that decides what your rival gets next. Strong players think of every turn as two parts: grab what is worth grabbing, then choose the exit line carefully. The glowing three-sided boxes are your warning lights. Any box that glows can be taken by whoever moves next.
The opening: spend your safe lines wisely
A safe line is one that leaves every box it touches with two sides or fewer. Early on almost every line is safe, so the opening is quiet. Edge lines are the easiest safe moves to read, because they only touch one box, so you only have to check that box. Inside lines need a check on both sides.
The quiet phase is not wasted time. Each safe line you draw shapes the corridors of boxes that will appear later. If you like where the board is heading, keep things simple. If you want to change the shape, a line that splits a long corridor in two, or joins two short ones, is how you do it while safe lines still exist.
Count the safe lines left as the board fills up. When only a handful remain, the player who draws the last safe one forces the other to open something. Getting that timing right is half of the game, and it is all counting, not luck.
Chains, loops and the counting contest
Once the safe lines are gone, the board is made of chains and loops. A chain is a run of boxes where each one has two sides drawn and the open sides link them together, so taking one end lets you take the next, then the next. A chain of one or two boxes is short. Three or more is long. A loop is a chain whose two ends join up, so it has no end to start from.
Opening a short chain is cheap: you give away one or two boxes and the turn comes back to you after your rival is done. Opening a long chain is expensive, because your rival can take most of it and still keep control, as the next section explains. That is why the late game is a contest over who has to open the first long chain.
Mathematicians who studied the game found a handy rule of thumb for counting. On a board with 36 dots like this one, the player who drew the very first line wants the number of long chains to end up even, and the other player wants it odd. Loops do not count for this rule. You can nudge the count with your last few safe lines, for example by cutting a long chain into two short ones.
The double-cross, step by step
Say your rival is forced to open a long chain of five boxes. The greedy move is to take all five, but then you have to draw again, and now you are the one opening the next long chain. Instead, take the first three boxes. When two boxes are left at the far end, do not close them. Draw the line at the very end of the chain instead, so those last two boxes are joined by one shared line that your rival can draw to take both.
Your rival collects two boxes with that single line and then must move again, which means opening the next long chain for you. You gave up two boxes to win the rest. On a loop the same idea costs four boxes instead of two, because the loop closes up at both ends, so only do it when the boxes still to come are clearly worth more.
The trick is only worth it when there is more to win later. On the very last chain of the game, just take everything.
How the Bot thinks on each level
On Easy, when a box is ready to close, the Bot takes it about three times in four. The rest of the time it moves on and leaves the box for you. When nothing is ready, it plays a safe line a bit more than half the time, and otherwise picks any open line at all, even one that hands you a box. Expect free gifts all game.
On Normal, the Bot always takes every box it can and always plays a safe line while one exists. When every line gives something away, it checks each one, works out how many boxes you could grab in a row afterwards, and picks the line that loses the fewest. That makes it tidy, but it never turns down boxes. It eats every chain to the end, so the double-cross works against it every single time.
On Hard, the Bot plays like Normal and adds the double-cross, with strict conditions. It only uses the trick once no safe lines are left, only at the end of a chain where one box is glowing and its neighbour has two sides, and only when more than two other boxes are still open so the sacrifice pays off. It does not decline boxes inside a loop. It takes a short pause before its first line, under a second, and moves a little faster through follow-up lines after closing boxes.
A plan to beat each level
Against Easy, just stay safe. Never draw a third side, take every glowing box you see, and let the Bot's random lines feed you. You will usually win by a wide margin without any chain counting.
Against Normal, play safe lines until they run out, and make sure the board ends up with a couple of long chains rather than lots of short pieces. When the Bot opens a long chain for you, take all but two, leave the pair, and watch it open the next chain. Since Normal never answers with the same trick, you keep control right to the end.
Against Hard, the counting contest is real. Track the long chains during the last few safe moves and try to leave the board so the Bot is the one forced to open first. Loops are a useful weapon here, because the Bot will take every box in a loop you open and then has to open the next chain itself. If you are forced to open, open the shortest piece on the board.
Playing a friend, at home or online
Pick 2 Players to share one screen. Blue and Orange take turns tapping lines, and the board tints to show whose move it is. It is a good format for teaching the double-cross: play it slowly, then talk through why the two boxes were left.
To play a friend on their own device, press Play online at the top, host a party, send your friend the code, then pick Dots and Boxes. No account is needed. Online, each of you sees the board on your own screen, and the board simply waits while your friend is thinking.
Common mistakes to avoid
The biggest one is taking every box in sight late in the game. Before you grab the last two boxes of a chain, ask what your forced next line will open. Another is drawing an inside line without checking both boxes it touches, which can put a third side on two boxes at once.
Players also forget that a box closed earlier in a turn means another line is coming. Plan the exit line before you start collecting. And when you must give something away, give the fewest boxes possible: a single box beats a pair, and a pair beats any long chain. If you enjoy this kind of careful turn-by-turn thinking, Four in a Row and Reversi on this site reward it too.
