Play online

Dots and Boxes Game

Play Dots and Boxes online and claim more boxes than your opponent. Draw lines between neighboring dots, complete squares to score, and keep your turn whenever you close a box.

P1
Player 1 0 0 boxes
00:00
TIME
VS
0
MOVES
Computer 0 0 boxes
AI
Press New Game to start playing!
0% 0 boxes remaining 0%
Game mode
AI difficulty
Grid size
Player names
Game options
📊 This Session
0
Games
0
P1 Wins
0
P2 Wins
0
Draws
Best Score
🏆 Recent Games
Loading scores…
🎯

Objective

Capture more boxes than your opponent. The player with the most boxes when the board is full wins!

🖱️

How to Move

Click or tap any empty line segment between two dots to claim it. Hover over lines to see a preview before clicking.

📦

Capturing Boxes

When you draw the 4th and final side of a box, you capture it (it fills with your color) and earn an extra turn! Keep going as long as you keep capturing boxes.

🤖

AI Difficulty

  • 🟢 Easy — Makes random moves. Great for beginners and kids.
  • 🟡 Medium — Grabs available boxes and avoids giving away free ones. A fair challenge.
  • 🔴 Hard — Uses full chain analysis and double-cross strategy. Tough to beat!
💡

Pro Strategy Tips

  • Never draw the 3rd side of a box — it gives your opponent a free capture.
  • Control long chains — Long chains are points. Be the one who decides when to open them.
  • Double-cross sacrifice — Give up a short chain of 2 to gain control of longer chains.
  • Count remaining boxes — The player leading with fewer boxes left wins by defense.

Features

  • Undo — Take back your last move (vs Computer only)
  • 💡 Hint — Get 3 free hints per game
  • Pause — Pause the timer anytime
  • 📊 Progress bar — See who's winning at a glance
  • 🏆 Score history — All games saved automatically
Gameplay

How to Play Dots and Boxes

Dots and Boxes is played on a grid of dots. On each turn, draw one horizontal or vertical line between two neighboring dots. If the line completes the fourth side of a square, you claim that box and take another turn. You continue playing while your moves complete boxes.

The objective is to finish with more boxes than your opponent or opponents. When every possible line has been drawn and all the boxes have been claimed, the player with the higher score wins.

The extra-turn rule is central to the game. Completing a box does not simply add a point to your score. It also lets you play again, which means one successful move can lead to another scoring move. A move that does not complete a box ends your turn and passes play to the next player.

For a complete explanation of the rules, scoring, turns, and gameplay situations, see the Dots and Boxes rules.

Choose your board

Dots and Boxes Game Modes and Board Sizes

The board you choose affects how much space there is to play and how the position develops. A smaller board is easier to see at a glance and can produce a shorter game. Larger boards provide more possible lines and more room for positions to develop before the decisive stage.

The game mode also determines who or what you are playing against. Use the available options in the game to choose the format that fits the type of game you want to play.

Board dimensions can be described by the number of dots or by the number of boxes they create, so it is useful to pay attention to which measurement is being used. The playable area is formed by the spaces between neighboring dots, with each completed space becoming a box that can be claimed.

Choose your board and start drawing lines to see how the position develops.

Strategy

Dots and Boxes Strategy

Dots and Boxes looks like a simple drawing game, but the extra-turn rule creates decisions that are easy to miss when you are starting out. A line that appears harmless can leave three sides around a box and give the next player an immediate scoring opportunity.

As the board becomes more crowded, players have fewer moves that avoid creating threats. Connected groups of boxes can then become chains, allowing one player to continue collecting boxes because every completed box provides another turn. This is why experienced play is not simply about taking the next available point. It is also about deciding who will be forced to open a scoring sequence and who will control what follows.

You can enjoy the game without knowing advanced tactics, but learning to recognize these patterns changes how you see the board. For a deeper explanation of winning tactics, chains, sacrifices, double-crosses, and endgame decisions, read how to win Dots and Boxes.

A game with history

The History of Dots and Boxes

Dots and Boxes has its roots in the 19th century and is commonly associated with French mathematician Édouard Lucas, who published the game under the name La Pipopipette. Its simple pencil-and-paper format made it easy to play almost anywhere, while the rules created enough strategic depth to attract later mathematical analysis.

Over time, the game moved beyond paper grids and became available in digital forms. Its mathematical side also received serious attention because positions can develop into chains and loops with important consequences for who controls the final stages of a game.

The story behind the game is broader than its original name and publication. To explore its origins, development, and mathematical legacy in more detail, read the history of Dots and Boxes.

Common questions

Frequently Asked Questions About Dots and Boxes

Quick answers to common questions about playing, scoring, turns, strategy, and the rules of Dots and Boxes.

How do you win Dots and Boxes?

You win by claiming more boxes than your opponent or opponents when the board is full. Every completed box counts toward your final score.

Does completing a box give you another turn?

Yes. When your line completes a box, you claim it and immediately take another turn. If the next move completes another box, you continue playing.

Can one line complete two boxes?

Yes. A line shared by two adjacent boxes can sometimes complete both boxes at once. Both completed boxes are added to the player’s score, and the player receives another turn.

Is Dots and Boxes a strategy game?

Yes. The rules are straightforward, but the extra-turn mechanic creates strategic decisions about safe moves, scoring opportunities, connected chains, and control of the endgame. More advanced play involves evaluating what a move will force the next player to do.

Can you play Dots and Boxes online?

Yes. An online version provides the same fundamental game structure on a digital board. Players draw lines between neighboring dots, claim completed boxes, receive extra turns after scoring, and try to finish with the highest score.

Is Dots and Boxes the same as Dots?

No. Dots and Boxes is based on connecting neighboring dots to complete and claim squares. The game commonly called Dots has different rules and an entirely different objective.