How to Play Dots and Boxes

- How do you play Dots and Boxes?
- What do you need for Dots and Boxes?
- What are the complete rules?
- How does claiming a box work?
- Which lines are legal?
- How do you count the final score?
- What is a good first grid size?
- What is a safe line?
- What is a chain in Dots and Boxes?
- How do basic chain decisions work?
- How can adults make the game easier for children?
- How does a Dots and Boxes game end cleanly?
- Sources
How do you play Dots and Boxes?
Draw a small rectangular grid of dots. Two players take turns drawing one horizontal or vertical line between adjacent dots. Complete the fourth side of a box, mark that box as yours and play again. If your line closes two boxes, claim both. When every box is claimed, count the marks: the player with more boxes wins, and equal scores are a tie.
What do you need for Dots and Boxes?
You need paper, two pencils or pens, and two distinct player marks. Initials work, or use simple symbols such as X and O. A ruler is optional; slightly uneven lines do not change the game.
Start beginners with a grid that makes two boxes across and two boxes down. That means three rows of three dots:
• • •
• • •
• • •
The spaces between those nine dots form four possible boxes. Calling this a “two-by-two box grid” avoids the common mistake of calling it a three-by-three game because it has three dots along each edge.
Play seated at a stable table with enough light to see every line. Keep pencils pointed down when they are passed, and do not walk or run while holding them. Put loose pen caps and other small items away from young children and pets. If a child is still learning pencil control, an adult can draw the chosen line while the child points to the two dots.
For a few more games using the same cupboard-level supplies, see paper games for family night.
What are the complete rules?
Use this closed sequence for a home game:
- Draw the grid and agree which mark belongs to each player.
- Choose the first player by agreement or a fair random method.
- On a move, draw one line between two horizontally or vertically adjacent dots that are not already connected.
- Check every box touching that new line.
- If the line completes one or two boxes, mark each completed box with the current player's symbol. Each box scores one point.
- A player who completes at least one box moves again immediately. They continue until they draw a line that completes no box, or until the board is finished.
- After a move that completes no box, play passes to the other player.
- The game ends when every box is claimed. The higher total wins; equal totals are a tie.
There is no diagonal line, no line that jumps over a dot and no second line over an existing edge. A move draws exactly one edge. There is also no pass in the standard game while a legal line remains.
How does claiming a box work?
A box belongs to the player who draws its fourth side, regardless of who drew the first three. Put the player's initial or symbol inside it at once. The mark records ownership; it should not cover nearby edges.
One line can close two neighboring boxes when it is their shared missing side. In that case, claim both boxes, score two points and take one more move. The University of Texas board explicitly covers a move completing one or more boxes and says the player then takes another turn.
You do not have to take an available box. A player may legally draw some other open adjacent edge instead. That can matter in advanced play, although taking the visible box is the clearest beginner choice.
Which lines are legal?
Before the pencil touches paper, both endpoints should be clear. A legal line:
- joins two dots directly next to each other;
- runs horizontally or vertically;
- covers a single gap; and
- uses an edge that is still blank.
If somebody draws an illegal line by mistake, pause before the next move. our repair rule is to erase or clearly cross out that line, then let the same player choose a legal edge. The error scores nothing and does not forfeit the turn. If the mark cannot be removed cleanly, copy the current legal position onto fresh paper. Apply the same repair to both players.
How do you count the final score?
Count the initials or symbols inside the boxes, not the number of lines each player drew. Each claimed box is one point. On a two-by-two box grid there are four points available; a final score might be 3–1 or 2–2. On a three-by-three box grid there are nine points available.
The game cannot finish with an unclaimed box. If four sides surround a box but it has no mark, look at the last line that completed it and award it to that player. If the group cannot reconstruct the move, our house repair is to leave that box out of both totals. For the next game, mark each box immediately.
When all boxes have marks, add each player's total separately and check that the two scores add up to the number of boxes on the board. If they do not, recount before announcing the result.
What is a good first grid size?
Use two boxes by two boxes for the first explanation. Four boxes are enough to demonstrate legal edges, a completed square and the extra-turn rule without asking a child to track a crowded page.
Move to three boxes by three boxes once both players can spot fourth sides reliably. A larger board is not a new ruleset; it simply creates more choices and longer runs of box claims. Agree on the size before choosing the first player, because changing it changes the number of available points and the likely playing time.
For a mixed-age pair, keep the same small board for everyone. Giving one player a different grid makes scores hard to compare. A player who has difficulty drawing can name the endpoints while a helper draws the line exactly as directed. The helper does not choose the move.
What is a safe line?
In beginner strategy, a “safe line” is an open edge that does not give any adjacent unclaimed box its third side. It does not score now, but it also avoids leaving an obvious three-sided box for the other player.
Use this check before each move:
- Look at the one or two boxes beside the proposed edge.
- Count how many sides each already has.
- If either has two sides, adding the line creates a third side.
- Look for an edge beside boxes with zero or one side instead.
This is a learning tool, not a promise that the move is mathematically best. Late in the game, every remaining edge may create a third side. Then somebody has to open the next group of boxes.
What is a chain in Dots and Boxes?
A chain is a run of neighboring boxes that can become available one after another. Once a player is offered the fourth side of the first box, closing it may expose another fourth side, then another. The extra-turn rule lets that player keep moving while boxes continue to close.
Allcock's research paper discusses long chains and loops as real features of advanced Dots and Boxes endgames. A first-time player does not need the full theory. They only need to notice two things:
- drawing the third side of one box may offer more than one future box; and
- taking a box can lead directly to another scoring move.
On a small grid, point to the run before finishing it. Trace the sequence without drawing: “If I close this box, its bottom edge is already present, so which edge would close the next one?” That makes the extra-turn consequence visible.
Do not teach “never draw a third side” as an absolute rule. When no safe line remains, it is impossible to follow. The useful question becomes which third side gives away the fewest immediate boxes.
How do basic chain decisions work?
For a first game, use three practical checks rather than a memorized formula.
Take completed boxes deliberately. Before drawing elsewhere, scan for a box with exactly three sides. Completing it scores one point and keeps your turn. Standard rules do permit another move instead, so this is beginner guidance rather than a legal requirement.
Look beyond the first box. If closing one box creates a chance to close its neighbor, count the whole visible run. Mark every claimed box as you go; do not draw several lines and add initials later.
Compare risky edges. When every legal line creates a third side somewhere, count the boxes connected to each option. Choose only after checking both sides of a shared edge. A line can affect two boxes at once.
These checks will not solve every position, and they do not claim to be optimal play. They do teach the relationship that drives the game: a harmless-looking third side can decide who receives the following sequence of boxes.
How can adults make the game easier for children?
Use large dots, wide spaces and high-contrast marks. Let the child point, say “top-left across,” or use row-and-column labels if drawing is difficult. A helper may steady the page or draw a named edge, but should not suggest a move unless both players receive the same help.
Explain one complete example before scoring the real game. Draw three sides of a practice box, let the child add the fourth, mark it and immediately take the earned extra move. Then start with a clean grid.
Keep strategy comments neutral. Do not describe an offered box as a foolish mistake, and do not rush a player who is counting sides. If attention runs out, photograph or label the unfinished position and stop. A completed game needs all boxes claimed, but a family can end a session without declaring a winner.
How does a Dots and Boxes game end cleanly?
After every box is marked, stop drawing. Count each symbol, verify that the totals equal the number of boxes, and announce a win or tie. There is no need for a separate final move once the last box has been completed.
Collect pencils, caps and any loose counters before children or pets leave the table. Store unfinished sharp pencils where young children cannot reach them. If players want another round, draw a fresh grid rather than trying to erase ownership marks from the first one.
Sources
- University of California, Los Angeles Department of Mathematics: Dots and Boxes — adjacent horizontal or vertical lines, box completion, repeat moves and the final majority.
- University of Texas Saturday Morning Math Group: Official Dots & Boxes Tournament Board — claiming one or more boxes, immediate extra turns, optional box-taking and the completed-board endpoint.
- Daniel Allcock, International Journal of Game Theory: Best play in Dots and Boxes endgames — formal rules and the distinction between moves, turns, chains and loops.
- University of California, Irvine: Computational Complexity of Games and Puzzles — concise description of the pencil-and-paper grid, scoring and extra-move rule.