Dots and Boxes
Board Games- Time
- 0:00
- Moves
- 0
Use arrow keys to explore lines. Press Enter or Space to draw the selected line.
Claimed boxes by upper-left dot. Sun none. Moon none.
Your turn · Sun. Sun 0, Moon 0.
More games
How to play Dots and Boxes
Close a box. Claim it. Go again.
- Select the space between two neighboring dots to draw a line. Sun goes first. An empty line appears as a dotted guide.
- Close the fourth side of a box to stamp it with your mark. If your line finishes a box, play again. Otherwise, hand over the turn.
- Keep going until every line is drawn. Compare the Sun and Moon counts above the board. The side with more boxes wins.
- Choose a 3 × 3, 5 × 5, or 7 × 7 grid. Play against the computer on Easy, Medium, or Hard, or pick Two players to share this device.
Keyboard
Tab to the board. Use the arrow keys to move between nearby lines, then press Enter or Space to draw the selected line.
Mouse
Hover over an empty dotted guide to preview a line. Click between the dots to draw it.
Touch
Tap near the middle of the dotted guide, between the dots. In Two players, pass the device only when the turn changes.
Rules and scoring
- Draw one unused horizontal or vertical line per move. Diagonals, lines that skip dots, and already drawn lines are not legal.
- A box belongs to the side that draws its fourth line, regardless of who drew the other three. A shared line can finish two boxes at once.
- Completing one or two boxes lets you draw another line. The same side keeps playing until a move scores no boxes or the board is full.
- Moves counts all lines drawn, including scoring lines and computer replies. The clock starts when the first line is drawn. Hints do not change either count.
- Stats keeps separate records for each grid size and computer difficulty. Two players keeps a separate record from Sun’s perspective for each size.
Strategy tips
- Check both boxes beside a line before you draw it. Even if one box looks harmless, the same line can leave the other box with three sides.
- Early on, draw lines that leave nearby boxes with at most two sides. Your opponent cannot close those boxes on the next move.
- Take a two-box finish by drawing the shared line while both boxes have three sides. It earns two points and another move.
- When every remaining line gives something away, trace the boxes with two sides already drawn. Opening the shortest chain usually costs fewer boxes.
- Watch where a chain can end. A line that closes one box can become the third side of the next, giving you a path to keep scoring.
- When two chains remain, taking every box in the first can force you to open the second. Leaving the last two boxes of a long chain can make the opponent open the next one for you.
Frequently asked questions
Does the bigger grid count dots or boxes?
Boxes. The 7 × 7 grid has 49 boxes and eight rows and columns of dots.
Why did the same side play again?
Drawing the last side of a box earns another move. This applies to both players and the computer.
Does Hint draw a line?
No. It highlights a line and names its endpoints. You can draw that line or pick another one.
What does Undo take back?
Against the computer, it returns to just before your last line, including any computer lines drawn since then. In Two players, it takes back one line.
How do the computer levels differ?
Easy favors immediate points and safer lines. Medium searches ahead for replies and chains. Hard can search more deeply when time allows.
Can I come back later?
Yes. In the same browser, the board resumes with the same turn. If it was the computer’s turn, it continues from the saved position.