Dots and Boxes
Draw lines, close boxes, and never give away a chain.
- Made by
- SuperFunGames (Stuffly LLC)
- Players
- 1 player · 2 players taking turns on one screen · no online play
- Controls
- Keyboard · Mouse · Touch screen
- Runs in
- Any modern web browser, nothing to download
- Saving
- Nothing is saved: the win tally resets when you change mode or reload the page.
- On the site since
- October 4, 2026
- Last updated
- November 3, 2026
About Dots and Boxes
Dots and Boxes is a pencil-and-paper classic on a grid of 5 by 5 boxes. Take turns drawing one line between two dots, and when you close the fourth side of a box you claim it and draw again. When every line is drawn, the player with more boxes wins. Play the Bot or a friend on one screen.
The board has 36 dots, 60 lines and 25 boxes to win. Since 25 is an odd number, one player always wins and a game can never end in a tie. The French math writer Edouard Lucas wrote about this game back in 1889. On Hard, the Bot knows a clever endgame trick: it gives away two boxes on purpose so that you have to open the next long chain for it.
What's inside
- A 6 by 6 grid of dots making 25 boxes and 60 lines
- Claim a box by drawing its fourth side, then draw again
- Boxes with three sides drawn glow as a warning
- vs Bot on Easy, Normal or Hard, or 2 Players on one screen
- Live box counts for both players
Goal and scoring
- Claim more of the 25 boxes than your rival.
- Players take turns drawing one line. Drawing the fourth side of a box claims it and you must draw again.
- When all 60 lines are drawn, the player with more boxes wins. With an odd number of boxes, there is never a tie.
How to play
- Click or tap the gap between two dots to draw a line
- Boxes with three sides drawn glow so you can spot them
- Keyboard: Tab to a line and press Enter or Space to draw it
Player 1
- Blue: tap the gap between two dots on your turn
Player 2
- Orange: same controls on your turn
Modes and difficulty
- vs Bot, Easy: takes a free box about three times in four and often draws a risky third side.
- vs Bot, Normal: always takes free boxes, plays safe lines while they last, then gives away as little as it can.
- vs Bot, Hard: plays like Normal and also gives up two boxes on purpose at the end to keep control of long chains.
- 2 Players: take turns on one screen.
Tips
- Avoid drawing the third side of a box, because it lets your rival take it.
- Late in the game, count the long chains of boxes and try to make your rival open them first.
- Sometimes it pays to leave the last two boxes of a chain for your rival so they must open the next chain for you.
Strategy guide
The opening is a waiting game. As long as there are safe lines, ones that do not put a third side on any box, draw those and never hand over a box for free. While you play safe lines, watch how the board is turning into chains: long corridors of boxes that will all fall together once someone opens one end. Short chains of one or two boxes and long chains of three or more behave very differently at the end.
When the safe lines run out, someone has to open a chain. If your rival opens a long chain for you, take every box except the last two, then draw the line that leaves those two as a pair for your rival. They take two boxes, but then they must open the next chain for you. This trick is called the double-cross. Count the long chains early: who is forced to open the first one decides who gets to use the trick.
Easy takes an available box about three times in four and often draws a risky third side. Normal always takes free boxes, plays safe lines while they last and then opens whatever gives away the fewest boxes. Hard does all of that and also uses the double-cross: it leaves you two boxes on purpose when the rest of the board is worth more. To beat Hard, take care with the number of long chains so it is the one that has to open them.
Questions and answers
- Can a game end in a tie?
- No. There are 25 boxes, an odd number, so one player always has more boxes when the last line is drawn.
- Why did I get another turn?
- Whenever your line closes a box, you claim it and must draw again. That keeps going until you draw a line that closes nothing.
- How good is the computer?
- Easy makes careless moves, Normal never gives away a box while a safe line is left, and Hard also knows the endgame trick of giving up two boxes to win a long chain.
- Does it work on touch screens?
- Yes. Tap the gap between two dots to draw a line. On a keyboard, Tab moves between lines and Enter or Space draws.
- What is a chain?
- A chain is a line of boxes joined so that once one box is opened, the next player can take them one after another. Late in the game, the board is mostly chains, and controlling who opens them decides the winner.