Objective
Capture more area than your opponent by completing all sides of a square or hexagon. See the settings for hexagon grid.
Capture more area than your opponent by completing all sides of a square or hexagon. See the settings for hexagon grid.
Players take turns clicking to draw lines between adjacent dots. When you complete the last side of a square or hexagon, you capture it and get another turn. The game ends when all areas are captured.
Try to avoid giving your opponent squares! When a square has 3 sides, the next player can complete it and take it. Plan ahead to control the board.
Long before it was the ultimate cure for classroom boredom, Dots and Boxes was a brilliant mathematical puzzle born in 19th-century France.
Unlike Minesweeper or Reversi, it required absolutely no special equipment—just a scrap piece of grid paper and two different colored pens. Yet beneath its childishly simple exterior lies an intensely complex mathematical structure.
The game was first formally described by Édouard Lucas, a prominent French mathematician, in 1889. Lucas is famous in the math world for analyzing the Fibonacci sequence and inventing the Tower of Hanoi puzzle.
Lucas introduced the game under the whimsical name La Pipopipette.
In his original publication, he detailed the rules we use today: players take turns drawing a single horizontal or vertical line between adjacent dots.
Completing the fourth side of a 1x1 square claims that box (traditionally marked with the player's initial), granting them an immediate bonus turn.
The game quickly spread across Europe and the Americas, picking up dozens of regional names including Pigs in a Pen, Square-it, Dots and Dashes, and eventually, Dots and Boxes.
For decades, children played Dots and Boxes under the assumption that it was a simple game of reflexes and avoiding the mistake of giving away a box. However, mathematicians eventually realized the game is deeply tied to combinatorial game theory.
In 1976, math legendary figures Elwyn Berlekamp, John H. Conway, and Richard Guy published Winning Ways for your Mathematical Plays. They devoted an entire, massive chapter to analyzing Dots and Boxes, proving it is mathematically "impartial" and intensely deep.
The defining breakthrough in Dots and Boxes strategy is the Double-Cross.
In an endgame, the board naturally breaks down into "long chains" of boxes. Amateurs usually take every single box they can as soon as a chain opens up. However, an expert will intentionally leave the last two boxes of a chain open, forcing the opponent to claim them and, crucially, forcing that opponent to open up the next chain.
By mastering the double-cross, a player can control who gets stuck moving first in the next area, effectively dictating the entire second half of the game.
Because it can be played on an arbitrary grid size (from a tiny 2x2 up to a massive 20x20), the number of possible game states scales exponentially.
While a standard 3x3 grid is easily solved, larger grids become highly unpredictable. Unlike Chess or Checkers, there wasn't a commercial digital boom for Dots and Boxes on early operating systems, but it became a staple of early mobile app stores and web-based puzzle portals.
Today, AI researchers still use large-scale Dots and Boxes tournaments to test heuristic algorithms. It remains a beautiful paradox: a game complex enough to challenge computer scientists, yet simple enough to play on the back of a restaurant napkin.