Dots and Boxes Online | Play Free, Beat the AI
See 3 more games mentioned in this article
The complete-the-box game, officially called Dots and Boxes, is one of the most strategic pen-and-paper games ever invented. Two players take turns drawing lines between dots. When you complete the fourth side of a box, you claim it and get a bonus turn. Most boxes wins. Play Dots and Boxes free online on PlayBrain against a smart AI.
How to Play the Complete-the-Box Game
The game starts with a grid of dots. Players alternate drawing one horizontal or vertical line between two adjacent dots.
Claim a box: When you draw the line that completes all four sides of a box, you write your initial inside it and get another turn. You can keep claiming boxes as long as you complete a box on each move.
Winning: The game ends when all boxes are claimed. Whoever has more boxes wins.
Simple to learn. Very hard to master.
The Core Strategy: Don't Be the Third Sider
The most important rule in Dots and Boxes: never be the person who draws the third side of a box.
Drawing the third side gives your opponent a "free box" โ they just complete the fourth side on their next turn and get the bonus move. Worse, if multiple boxes share walls, giving your opponent one box often gives them a whole chain of boxes.
Beginner players often draw lines randomly, not realizing they're setting up free boxes for the opponent.
Intermediate players avoid drawing the third side, which creates a standoff: both players carefully dance around boxes, waiting for the other to break first.
Advanced players deliberately manage chains to dictate who gets forced to open them.
Chain Theory: The Secret to Winning
A chain is a sequence of boxes where each box shares two sides with neighbors. Once you open a chain (give the opponent the first box), they can claim the entire chain in one turn.
Short chains (1-2 boxes) are less dangerous.
Long chains (3+ boxes) are devastating because the opponent gets many boxes and many bonus turns in a row.
The key insight: At the end of the game, the player who is forced to open the first long chain usually loses. The goal is to force your opponent to open chains instead.
The sacrifice play: When facing two long chains, sometimes you deliberately give up a short chain to force your opponent to open the next long chain. This is called the "loony" strategy. Giving up 2 boxes to get a chain of 5+ is a winning trade.
Advanced Technique: Box Counting
Before the endgame, count the number of long chains. Chains are like cards in a hand:
- If there's an odd number of long chains, the second player to move tends to win (they get the last chain)
- If there's an even number of long chains, the first player tends to win
Strong players try to manipulate the number of chains during the midgame to create favorable parity for the endgame.
Complete the Box: Difficulty Levels
PlayBrain's Dots and Boxes has three AI difficulty levels:
- Easy โ the AI makes occasional random mistakes, good for learning the rules
- Medium โ the AI plays the "avoid third sides" strategy but doesn't plan chains
- Hard โ the AI uses chain analysis and endgame parity. Very difficult to beat consistently.
Start on Easy to learn basic box completion, then move up to Medium once you're consistently winning.
Why Dots and Boxes Is a Classic
รdouard Lucas invented Dots and Boxes in the 19th century and it's been a paper-and-pencil staple ever since. The game has been solved mathematically for small grid sizes (mathematicians proved the optimal strategy), but on the full 5ร5 grid, it's still complex enough to challenge humans.
The game involves both pattern recognition (spot chains quickly) and strategic thinking (manage chain parity). It's genuinely educational for learning game theory concepts like "Nim" and "move order" optimization.
For more strategy games, try Mancala, Chess, or Go on PlayBrain. All free in your browser with no download needed.
Get weekly game picks in your inbox
New games, tips, and challenges every week. No spam.
Frequently Asked Questions about Dots and Boxes Online | Play Free, Beat the AI
How do you win at Dots and Boxes?
What are the rules of Dots and Boxes?
What is the Dots and Boxes strategy for beginners?
Is Dots and Boxes (Complete the Box) free online?
Explore Collections
PlayBrain Team
Our editorial team reviews and tests every game and guide we publish. Have a question or correction? Get in touch.
Related Articles
Games Like Fireboy and Watergirl | 8 Free 2-Player Games
Fireboy and Watergirl blocked at school? 8 free browser games: Connect Four, Chess, Battleship + 5 more. No download, works on Chromebook.
Best Free 2 Player Games Online | Browser, No Download
10 free 2-player browser games: chess, mancala, connect four, battleship and more. Play with friends online or pass-and-play. No download, no account.
Games Like Chess Free Online | 10 Strategy Games
10 free strategy games like chess: abstract tactics, go-style board games, and strategy puzzles you can play in your browser. No download needed.
Best Unblocked Games 66 Alternatives | Play Free Now
UG66 games broken? Play 378+ free unblocked HTML5 games at PlayBrain. No Flash, no download โ works on school Chromebooks and restricted WiFi.
10 Best 2 Player Browser Games | Free 2026
Play 2 player games free in your browser. Checkers, Chess, Connect Four, Battleship + 6 more. Same device, no download, no account needed.
Best Free Games to Play With Friends in Your Browser
Fun two-player and party games you can play with friends online. No download, no sign-up. Just share the screen and play.