Dots and Boxes

Draw lines between dots, close boxes to claim them, and avoid handing the computer a chain.

Difficulty
Difficulty: Medium
Play time
4 min
You
0
Computer
0
Record
0 W · 0 L · 0 D

Pick a level and press Start.

You Computer

Tap between two dots to draw. Close a box to claim it and go again. 16 boxes in all.

How to play

  1. Pick a level and press Start. You draw first.
  2. Tap the gap between two neighboring dots to draw a line there.
  3. If your line closes the fourth side of a box, the box is yours and you draw again.
  4. When every line is drawn, the player with more of the sixteen boxes wins.

About this game

Dots and Boxes is a pencil and paper game that has been played in classrooms and on napkins for well over a century. The board here is a square of five by five dots, which makes sixteen boxes. Players take turns joining two neighboring dots with a short line, across or down. Whoever draws the fourth side of a box claims it, and then must draw another line.

Early on, the game is about safe lines: lines that do not give a box a third side, because a box with three sides is a gift to the next player. Sooner or later the safe lines run out, and someone must open a corridor of boxes, called a chain. The other player can then take the whole chain, one box after another.

The real skill is in that endgame. Sometimes it is better to take all of a chain but the last two boxes and leave them for your opponent with one line, a move known as a double cross. They get two boxes, but then they must open the next chain for you. Counting chains and choosing when to give up a little to keep control is what separates good players from great ones.

On Easy the computer often misses free boxes and sometimes plays carelessly. On Normal it takes every box it can, avoids third sides and hands over as few boxes as possible. On Hard it also searches the endgame exactly, so it knows when to double cross. Your wins, losses and draws on each level are saved in this browser.

What this does not measure

This is a game for fun. It is not an IQ test or a measure of planning or counting skill, and losing to the computer says nothing about how your mind works.

Your best score is saved in this browser only.

More games to try