Last updated: March 29, 2026
Draw lines between dots to claim boxes. The player who completes the most boxes wins this classic pencil-and-paper strategy game.
Loading game...
Dots and Boxes is a pencil-and-paper game for two players. You take turns drawing a single line between two adjacent dots. Complete the fourth side of a square and you claim that box, score a point, and take another turn. French mathematician Edouard Lucas first published the game in the 1890s under the name La Pipopipette, describing it as a game whose combinations leave nothing to chance. Elwyn Berlekamp, one of the authors of Winning Ways, later wrote an entire book, The Dots and Boxes Game: Sophisticated Child's Play, showing that the game hides deep Sprague-Grundy theory behind its simple rules. A 2019 study in the Trends in Cognitive Sciences journal linked turn-based strategy games to improved planning and inhibitory control in children. Draw your first line and start claiming boxes.
Both players draw lines in the middle of the board, carefully avoiding the third side of any box. Nobody wants to hand over a free box. This cautious phase ends when every safe line is gone.
No safe lines remain. One player is forced to draw the third side of a box, and the opponent claims that box, then the next, sweeping a chain of four boxes. The chain ends when the winner chooses to stop and hand back a short two-box chain.
Facing a long chain of six boxes, the player in control claims only four of them, then draws a line that splits the last two into a domino and hands them to the opponent. The opponent takes the two boxes but is then forced to open the next chain, which the controller claims. That sacrifice wins the game.
Play Dots and Boxes in your browser with no download. Choose a 3x3, 4x4, or 5x5 grid, then play the CPU or a friend locally. Our version auto-detects completed boxes, grants extra turns, and scores both players automatically. Draw your first line and start claiming boxes.
Taking a free box gives you an extra turn, but if only one or two boxes are available you then have to open a longer chain for your opponent. Skilled players sacrifice short chains to keep control of the long ones, which is called the double-cross move.
French mathematician Edouard Lucas first published it in the 1890s under the name La Pipopipette. Elwyn Berlekamp later analyzed the game in depth in his book The Dots and Boxes Game: Sophisticated Child's Play, showing it contains real combinatorial game theory.
On most boards, the player forced to open the first long chain loses, because the opponent then sweeps that chain and hands back a short one. Counting chains before the endgame lets you decide whether to grab or sacrifice.
Yes. On grids with an even number of boxes, both players can finish with the same score. On odd grids like 3x3 and 5x5, one player always wins by at least one box.
Dots and Boxes looks like a children's game and plays like a math puzzle. Draw lines, count chains, and master the double-cross to control the endgame. Pick a grid, play the CPU or a friend, and claim your first box now.
The king of strategy games
Classic jumping board game
Classic race board game
Classic dice board game with snakes and ladders
Connect four discs in a row
Strategic disc-flipping game
Classic disc-flipping strategy game
Classic X and O strategy game