Dots and Boxes
Quick Pitch
Dots and Boxes is a pencil-and-paper game where players take turns drawing lines between dots — and whoever draws the fourth side of a square claims it.
Hook
You start with a grid of dots and take turns drawing one line connecting two adjacent dots. It sounds simple until someone draws the third side of a box — because now whoever draws the fourth side claims it, and gets to take another turn. Giving your opponent a box usually sets off a chain reaction of free boxes for them. The whole mid-game is about avoiding being the person who opens the first chain.
Equipment Needed
- Sheet of paper
- Pencil or pen (multiple colors recommended to distinguish players)
Setup
- Draw a rectangular grid of dots
- Standard starting grid: 4×4 dots (creating a 3×3 grid of potential boxes)
- Variations use larger grids (5×5, 6×6 dots, etc.)
• — • — • — •
| | | |
• — • — • — •
| | | |
• — • — • — •
| | | |
• — • — • — •
- Decide turn order (can be random or Player 1 goes first)
Rules
Objective
Claim more boxes than your opponent by drawing the fourth side of a 1×1 box.
Gameplay
- Players alternate turns
- On each turn, a player draws one line segment between two adjacent dots (horizontally or vertically adjacent only)
- When a player completes the fourth side of a box by drawing a line, they:
- Claim that box (mark it with their initial or color)
- Score 1 point
- Take another turn immediately
- A player must take another turn after completing a box; they continue until they draw a line that doesn't complete a box
- Play continues until all possible lines are drawn
- The player with the most boxes claims victory
Scoring
- 1 point per box claimed
- Only completed boxes count (all four sides drawn)
- Game ends when the entire grid is filled
Expert Player
Tips
Opening Strategy:
- Avoid completing three sides of a box (leaving the fourth side open) as this gives your opponent an easy point and another turn
- Create "chains" — situations where completing one box forces you to complete adjacent boxes, taking multiple points in one turn
Sacrifice Play:
- Sometimes intentionally give opponent a few boxes to gain control of a larger chain later
- Sacrifice smaller sections to set up a winning endgame position
Long Chains:
- Once a chain of boxes begins being completed, the player completing them gets all boxes in sequence plus another turn
- Controlling when chains activate is crucial
The "Double Cross" Tactic:
- If you must give opponent a box, try to arrange it so they get only one box in that chain
- Avoid patterns where opponent can take 2+ boxes
Endgame:
- When few moves remain, carefully count which sequences will give which player points
- The player who doesn't give opponent the first free box often wins the endgame
Advanced Technique:
- Sacrifice one box to opponent to control a larger region
- This is known as "losing the battle to win the war"
Variations
- Larger Grids: Play on 5×5, 6×6, or larger grids for longer games
- Rectangular Grids: Use non-square grids like 3×5 or 4×6
- Colored Boxes: Use different colors per box instead of initials
- Three-Player Variant: Draw with three different colors/symbols
- Torus Variant: Wrap grid edges (top connects to bottom, left to right) creating additional win paths
Learn More — History & Origins
History & Origins
Dots and Boxes was invented in 1889 by the French mathematician Édouard Lucas, who is better known for the Lucas sequence in number theory and for the Tower of Hanoi puzzle. It appeared in his book "Récréations Mathématiques" as an example of a combinatorial game with interesting mathematical properties. Lucas was part of a 19th-century tradition of mathematicians who treated recreational puzzles as worthy of serious study, and Dots and Boxes justified that treatment.
The game was popularized to a wide English-speaking audience by Martin Gardner, who featured it in his "Mathematical Games" column in Scientific American. Gardner's coverage introduced it to several generations of math enthusiasts as an example of a game that looks trivially simple but turns out to have genuine strategic depth. Combinatorial game theorist Elwyn Berlekamp later devoted a full analysis to Dots and Boxes in his 1974 paper "The Dots and Boxes Game," and the game appears extensively in "Winning Ways for Your Mathematical Plays."
Cultural Context
Dots and Boxes is one of those games that nearly everyone has played as a child — usually on the back of a notebook or a restaurant placemat — without knowing it has a name, a mathematical history, or a worked-out optimal strategy. The informal play and the serious mathematical analysis exist in parallel, with most players somewhere between the two: knowing that the game involves more than it appears, but not knowing quite why.
The key strategic insight — that the player who doesn't open the first long chain of boxes usually wins the endgame — takes most players a few games to discover naturally, at which point the game transforms from "draw lines and count" into something genuinely tactical. Berlekamp's full analysis is considerably more complex, involving the theory of "nim-values" and chain decomposition, but that deeper analysis is optional; the game works well at every level of understanding.