Scroll inside the board to reach every edge.
Close a box → score and draw again. Tab to a line · Enter/Space to draw.
Draw one line between neighboring dots. Close a box to score and play again. Plan the chains you leave behind.
Lines0
Scroll inside the board to reach every edge.
Close a box → score and draw again. Tab to a line · Enter/Space to draw.
Dots and Boxes is a paper-and-pencil strategy game about claiming squares. Unlike alignment games, territory depends on who draws the final edge, not who drew most of the earlier edges.
This browser version uses three board sizes: 4, 9 or 16 boxes, with 12, 24 or 40 available lines. Play a bounded practice computer or a second person on the same device.
There is no numbered campaign. The 2×2 board makes shared-edge captures easy to see; 3×3 and 4×4 allow longer chains and more decisions before safe edges run out.
Changing the first player explores the same board from another side. Match settings and valid history are saved locally when browser storage is available. The computer uses a bounded heuristic rather than a perfect solver.
A box with two sides is dangerous: adding a third leaves an immediate scoring line. Compare unused edges before opening it.
Once a player starts closing neighboring three-sided boxes, each capture grants another turn. Look beyond the first box to see what the entire run could cost.
If two boxes are each missing their common edge, drawing it scores both and retains the turn. Earlier edge ownership does not affect who gets these boxes.
Yes, choose Local 2-player and take turns on the same device. There are no rooms or remote multiplayer.
Closing one or two boxes grants another line. Your turn ends only after drawing a line that closes no box, or after the board is full.
When local storage is available, the board settings and legal move history are saved in this browser. Clearing browser data removes them; there is no account sync.
A board with n×n boxes has 2n(n+1) edges: 12, 24 and 40 in this version.
No. It captures immediately available boxes, avoids creating a third side where possible, and estimates forced concessions. It does not solve every long-chain strategy.
Restart clears the current grid. Select another size or first player to change the setup.