Dots and Boxes
Draw one line at a time. Complete a box to claim it and go again.
About Dots and Boxes
Dots and Boxes is the classic pencil-and-paper duel that generations of schoolkids have played across the back pages of notebooks. It was first published in 1889 by the French mathematician Édouard Lucas, who called it la pipopipette (see Dots and Boxes on Wikipedia), and it hides a surprising amount of real mathematics behind its friendly grid. The rules take ten seconds to learn; playing it well — controlling the chains, counting parity, sacrificing at the right moment — is a genuine strategy game that mathematicians still write papers about.
This is PlayZone's own build, written in-house and running entirely in your browser with no download and no account. Pick a 3×3, 4×4, or 5×5 board of boxes, then play against a computer opponent that knows the classic tactics — it takes free boxes, avoids handing you chains, and when forced to give something up, it gives up the smallest chain it can find. Prefer a human opponent? A two-player mode turns it into a pass-and-play match on one screen. Your win–loss record against the computer is saved on your device.
How to Play Dots and Boxes
Players take turns drawing one line between two neighbouring dots, horizontally or vertically. When your line completes the fourth side of a box, you claim that box — it fills with your colour — and you move again. Completing a box always grants an extra turn, so one good opening can cascade into a whole chain of boxes in a single visit. When every line is drawn, the player who owns more boxes wins. On the 5×5 board that is 25 boxes, so 13 wins the match.
Strategy: The Game Is Won in the Chains
- Never draw the third side of a box — that is the golden rule. A box with three sides is a gift: your opponent completes it, gets another turn, and often eats an entire chain behind it. Early on, only play lines that leave every touched box with two sides or fewer.
- Think in chains, not boxes. By mid-game the board decomposes into chains — strings of boxes that will all fall to whoever opens them last. The real contest is about who is forced to open the first chain, not who grabs the first box.
- Sacrifice small to win big. When you must open a chain, open the shortest one. Better yet, learn the double-cross: when gobbling up a chain your opponent conceded, leave the last two boxes for them. You give up two boxes, but they are then forced to open the next chain — and the next chain is usually bigger. This one move separates casual players from players who rarely lose.
- Count the chains early. A well-known rule of thumb: on boards like these, the first player wants the number of long chains to come out one way, the second player the other. You don't need the theory — just start noticing how many separate chains are forming and whether the forced sequence of sacrifices ends with you or your opponent eating the longest one.
- Move up the board sizes. The 3×3 board is quick and tactical; 4×4 is where chain thinking starts mattering; 5×5 is the full strategic game where the double-cross decides almost every close match.
A Thinking Game in Disguise
Like Four in a Row, Dots and Boxes is planning practice dressed as a doodle: you are reading the board several moves ahead, weighing sacrifices, and adapting when your opponent refuses the bait. It is turn-based and completely self-paced, which also makes it one of the calmer picks on the site — closer in spirit to Tic Tac Toe than to any reflex game, but with far more room to grow.
Further Reading
- The Best Free Browser Games to Play in 2026 Where classic strategy games fit among this year's picks.
- Do Browser Games Really Benefit Your Brain? The honest evidence on planning-heavy games like this one.
- Work Break Games: 15 Best Quick Games for 5-Minute Breaks A 3×3 match fits comfortably inside a coffee break.
FAQ
How do I draw a line?
Tap or click the gap between two neighbouring dots — each gap is a generous touch target, so it works comfortably on phones. Horizontal and vertical lines only; there are no diagonals in Dots and Boxes.
What happens when I complete a box?
The box fills with your colour, it counts toward your score, and you immediately move again. Extra turns chain: if your bonus move completes another box, you keep going until you draw a line that doesn't finish one.
Why did the computer just give me boxes?
It was a sacrifice, and probably a good one. When every remaining move opens some chain, strong play is to concede the smallest chain to stay in control. The computer does exactly this — and if it keeps winning despite feeding you boxes, the double-cross tip in the strategy section above is the counter you're missing.
Which board size should I start with?
Start on 3×3 to absorb the never-give-the-third-side rule, then move to 4×4 and 5×5 as chain strategy starts to click. Bigger boards are longer games with deeper strategy, not just more of the same.
Can two people play on one device?
Yes — switch to two-player mode and hand the device back and forth (or share a mouse). The board shows whose turn it is and both scores throughout, just like the notebook version.
Does the game save my results?
Yes — your win–loss record against the computer is stored locally in your browser and persists between visits on the same device. Clearing browser data resets it.
Can a game end in a draw?
Only on boards with an even number of boxes. The 3×3 (9 boxes) and 5×5 (25 boxes) boards always produce a winner; on 4×4 (16 boxes) an 8–8 tie is possible, and the game calls it a draw honestly.