How to play · Rules

How to play Dots and Boxes

A full guide: how to draw edges between adjacent dots, close boxes, earn an extra turn for every box you close and capture more boxes than your opponent. Controls on muta.pro and tactics for beginners.

Play now

In brief

Goal
Close more boxes
Players
2
Game
10–20 min
Difficulty
Medium
Luck
None

Goal of the game

Dots and Boxes is a positional game about capturing boxes on a grid of dots. Players take turns drawing short lines (edges) between adjacent dots. Whoever draws the fourth, closing edge of a box claims that box. The goal is to capture more boxes than your opponent once the whole board is drawn in.

Setup

The board is a grid of dots; edges can be drawn between adjacent dots. The board size is chosen before the game — from compact to large. Each player has their own colour: captured boxes are filled with it. Players move in turn, starting with the first player.

Course of the game

Draw an edge

On your turn, draw one line between two adjacent dots — horizontally or vertically. Hover the cursor over the segment and click.

Close boxes

When your line becomes the fourth side of a square, the box is filled with your colour and credited to you.

Extra turn

For every box you close you move again. A single move can close two boxes at once — and again earn you the right to move.

Passing the turn

If your edge closes no box, the turn passes to your opponent.

Filling the board

Players draw edges until every box on the board is closed. No free lines remain — the game is over.

Tallying the result

Count who has more captured boxes. That player wins the game.

How the winner is decided

Your score is the number of boxes in your colour; it is shown on the right with a coloured progress bar. The game continues until every box on the board is closed (the sum of both players' boxes equals the number of boxes in the grid). The player who captured more boxes wins; if they are level, a draw is declared. Because closing a box grants an extra turn, long chains of boxes can go entirely to one player — and that is what decides the outcome.

Controls on muta.pro

🖱️
Draw an edge
Hover the cursor over the segment between two dots — it lights up gold — and click to place the line.
🟩
Capturing a box
Once you close the fourth side, the box is automatically filled with your colour and you move again.
📐
Board size
The buttons "4×4", "5×5", "6×6", "7×7" set the grid size before the game.
🔁
New game and score
The buttons "↺ New game" and "🏳 Resign" are on the right, along with the score and progress. On the left are the players, rules and chat.

Beginner tips

Don't give a third side

Try not to draw edges on boxes that already have two sides — otherwise your opponent closes the box on the next move.

Think in chains

A long chain of boxes goes entirely to whoever starts closing it. Plan who gets the long run.

Sacrifice small

Sometimes it pays to give up a couple of boxes to force your opponent to open a long chain for you.

Count the extra turns

Every closed box is an extra turn. Snap up boxes one after another without handing over the initiative.

Strategy: the chain rule

Dots and Boxes only looks like harmless line-drawing — in reality it is a game of calculation. Experienced players barely think about the first moves: they think about how the board will break up into chains in the endgame. A chain is a row of boxes connected so that, once your opponent starts closing one end, they are forced to hand you the whole chain: every closed box grants an extra turn, and the hand naturally reaches to close the next.

The game splits into two phases. First comes the neutral phase: both players draw "safe" edges that don't give a box a third side. As soon as the safe moves run out, the opening phase begins — someone is obliged to open a chain. The whole strategy comes down to forcing your opponent to open first while you get the long chains.

Count chains, not boxes

Victory is decided not by the running total of boxes but by how many long chains there are and who gets them at the end. One long chain matters more than three single boxes.

The parity rule

On an N×N board of boxes there is an empirical rule: the first player wants an odd number of long chains, the second an even one. Keep this in mind when deciding where to cut the board.

Don't open a chain first

Whoever first draws an edge inside a long chain gives it away. Drag out neutral moves, forcing your opponent to open up sooner.

A long chain of four boxes: whoever opens it first hands the opponent all four in a row.

Tactics: the double-cross

The masters' key technique is the double-cross. When closing a chain, you do not take the last two boxes but sacrifice them, drawing one "through" edge. Your opponent takes those two boxes but must move again — and is forced to open the next chain for you. Thus you give up 2 boxes to get the whole next chain in full.

Without this technique the winner is whoever first got a long chain: they greedily take it and then open the next one themselves. The double-cross flips the logic — by giving up the initiative, you keep control. On a board with several long chains a series of such sacrifices decides the game: you lose a couple of boxes at each transition, but every new chain comes to you in full.

The double-cross: we take the first two boxes for ourselves, and deliberately leave the last two (gold) to the opponent with a single edge — they take them but are forced to open a new chain for you.

Keep control

The player who forces the opponent to open chains "keeps control". The double-cross is a way to hand the unfavourable obligation to move back to the opponent.

Weigh whether the sacrifice is worth it

The double-cross pays off only if the next chain is longer than two boxes. Giving up 2 to take 2 is pointless.

Take short chains in full

In a chain of two boxes there is nothing to sacrifice — just close both. Save the double-cross for long chains.

Variants and board sizes

On muta.pro the grid size is set before the game with the buttons "4×4", "5×5", "6×6", "7×7". Size changes not only the length but the game itself: on a small board precise calculation decides almost everything, on a large one it is the skill of cutting the board into favourable chains. The bigger the grid, the more important it is to picture in advance how many chains the board will break into.

The parity rule works differently depending on who moves first, so the same size plays differently as the first and the second player. If you want to practise a specific technique, take a smaller board: there a mistake is visible at once and the game doesn't drag on.

4×4 — a calculating miniature

A quick game of 16 boxes. The chains are short, everything can be calculated to the end — good for practising parity and the double-cross.

5×5 and 6×6 — the golden mean

Enough room for long chains and sacrifices, but the game doesn't drag on. Here chain strategy comes fully into its own.

7×7 — a big game

49 boxes, several independent chains and "loops" (closed cycles). Managing control becomes decisive.

Loops give up four

A chain closed into a ring (a loop) requires you to sacrifice not two but four boxes in a double-cross. Account for this on large boards.

Odd boards against draws

If you want to avoid a draw, pick a board with an odd total number of boxes — then the score can't come out level.

Common beginner mistakes

Almost all losses in Dots and Boxes come not from bad ideas but from automatic moves in the opening. A player mechanically closes everything that can be closed and opens everything that can be opened — and by the endgame is left without a single long chain. Let's look at the typical slips that gift chains to the opponent.

  1. Giving a third side. Drawing an edge on a box that already has two sides means gifting it to the opponent on the very next move. Early in the game avoid such edges like the plague.
  2. Taking everything greedily. Having closed a long chain to the end, you are obliged to move again — and open the next chain for the opponent yourself. This is exactly where the double-cross is needed.
  3. Not counting chain parity. Opening moves seem equivalent, but they determine how many long chains there will be and who gets the last one.
  4. Opening a short chain first. If you have to open up, give away the shortest chain — that way you lose fewer boxes and keep control.
  5. Ignoring loops. Ring chains behave differently: they cost more to sacrifice and change the parity count. On large boards they are easy to overlook.

A dangerous box: it already has three sides. Whoever gave it a second side too early has gifted it to the opponent.

Frequently asked questions

When do I move again?
Every time your line closes a box. Close a box — move again, and so on until a move that captures nothing.
Can I draw a line diagonally?
No, edges connect only adjacent dots horizontally or vertically.
What if the boxes are split evenly?
A draw is declared. To avoid it, pick a board with an odd number of boxes or play for capturing chains.
Can I play against a bot?
Yes. Create a room and add a bot, or invite an opponent with the room code.
What is a chain in Dots and Boxes?
It is a row of boxes connected so that, once one end is closed, they all go to a single player in a row thanks to the extra turns. It is the length and number of chains, not individual boxes, that decide the outcome of the game.
Why sacrifice boxes to your opponent?
The double-cross technique: you hand over the last two boxes of a chain with one edge, your opponent takes them but must move again and opens the next, longer chain for you. Thus a small sacrifice brings a big gain.
What does "keeping control" mean?
Control is the situation in which your opponent, not you, is forced to open unfavourable chains. The double-cross lets you hand that obligation back to your opponent and keep control until the end of the game.
How does board size affect strategy?
On a small 4×4 board precise calculation of short chains decides everything; on 6×6 and 7×7 the skill of cutting the board into favourable long chains and loops matters more. The bigger the board, the more important control and parity become.
What is a loop and what makes it special?
A loop is a chain closed into a ring. In a double-cross you have to sacrifice not two boxes but four, and it affects the parity count of chains differently.
Who benefits from chain parity?
By an empirical rule the first player benefits from an odd number of long chains, and the second from an even number. That is why experienced players move, right from the opening, so that the board breaks up into the number of chains they need.
Ready for a game?
Create a room, invite a friend with the code or play against a bot.

Similar games