Dots and Boxes

Strategy
You
0
Computer
0
Your turn

How to Play

Goal: Claim more boxes than the computer on the 5 by 5 box grid.

Controls: Click or tap the gap between two dots to draw a line. Lines are horizontal or vertical only.

Rules: Whoever draws the fourth side of a box claims it and goes again. When every line is drawn, the player with the most boxes wins.

About Dots and Boxes

Dots and Boxes is the pen-and-paper classic every schoolkid rediscovers: players take turns drawing one edge on a grid of dots, and completing the fourth side of a box claims it, plus another turn. The game was first published by the French mathematician Édouard Lucas in 1889 under the name la pipopipette, which makes it one of the oldest paper games with a known author.

Casual players think it is a game about not making mistakes. It is actually a game about giving gifts on purpose. Once the grid fills, every move opens a chain of boxes for the opponent, and the whole endgame becomes an auction of sacrificed chains. Learning the double-cross trick, deliberately declining the last two boxes of a chain, is the moment the game transforms.

Dots and Boxes strategy

  • Never draw the third side of a box unless you are ready to hand it over, count edges before every move.
  • Think in chains. The board eventually splits into corridors of boxes, and whoever is forced to open the first long chain usually loses.
  • Learn the double-cross: take all but the last two boxes of a chain, then close it with a sacrifice so your opponent must open the next chain for you.
  • Play the parity game: count the long chains forming. First player generally wants an odd number of long chains, second player an even number.
  • Early moves are not filler. Steer the wall structure so the chain count lands on your side of the parity battle.

FAQ

Why should I ever give my opponent boxes on purpose?

Because of chain control. If you greedily eat every box in a chain, you must then open the next chain yourself. Sacrificing the last two boxes forces your opponent to open it instead, and against long chains that trade wins the game.

What is the double-cross strategy?

When taking a chain, stop before the final two boxes and draw the edge that leaves both to your opponent. They gain two boxes but must move again, opening the next chain to you. Repeat this and you collect every long chain on the board.

Does going first matter in Dots and Boxes?

It changes which chain parity you want. On the standard odd-by-odd dot grid, the first player aims for an odd number of long chains and the second player for an even number. The player who wins that structural fight usually wins the score.

Do I get another turn every time I complete a box?

Yes, completing a box grants an extra move immediately, and completions can cascade down a whole chain in one turn. That rule is the engine of the entire strategy above.