🟪🔵 Dots and Boxes

Connect the dots, complete boxes, and outsmart your opponents!

Pink's turn

🎉 Pink Wins!

Great game!

🟪🔵 Dots and Boxes for Kids – The Classic Pencil-and-Paper Strategy Game!

Dots and Boxes is one of the most popular pencil-and-paper games in the world! It's been played by kids (and grown-ups!) for over 100 years. Players take turns drawing lines between dots on a grid. When you complete the fourth side of a box, you capture it and get another turn! The player who captures the most boxes at the end wins. It's easy to learn but full of sneaky strategy!

🌟 Fun fact: Dots and Boxes was invented by a French mathematician named Édouard Lucas way back in 1889! It's also known as "Boxes," "Squares," "Dots and Dashes," or "Pigs in a Pen." Kids all over the world have been playing it on napkins and notebooks for generations!

🤔 What Is Dots and Boxes?

Dots and Boxes is a strategy game for 2, 3, or 4 players. You start with a grid of dots — for example, a 4×4 grid has 5 rows and 5 columns of dots with spaces in between. Players take turns drawing one horizontal or vertical line between two neighbouring dots. When a player draws the fourth line that completes a square (a "box"), they claim that box and it gets filled with their colour. The best part? When you complete a box, you get a bonus turn — so you can sometimes capture lots of boxes in a row!

The game ends when all the lines have been drawn and every box has been claimed. The player with the most boxes wins! Our version lets you play against the computer, head-to-head with a friend, or even have a 3-player or 4-player battle! Each player's lines are drawn in their own colour so you can see who drew what. The very last move is always highlighted with a bright glow so you never miss it.

📋 How to Play Dots and Boxes – Step by Step

  1. Choose your settings: Pick your grid size (3×3 up to 10×10), game mode (vs Computer, 2 Players, 3 Players, or 4 Players), and AI difficulty.
  2. Pink goes first: Click or tap on a line between two dots to draw it in your colour.
  3. Take turns: Players alternate turns drawing one line at a time. Each player's lines appear in a different colour!
  4. Complete a box: If your line completes the fourth side of a box, it turns your colour and you get an extra turn!
  5. Chain reactions: If your bonus turn completes another box, you keep going! Try to set up long chains of boxes.
  6. Win the game: When all lines are drawn, the player with the most boxes wins!

💡 Top Tips and Strategies for Kids

👥 Multiplayer Mode – 3 and 4 Players!

While traditional Dots and Boxes is a two-player game, our version lets you play with 3 or 4 friends on the same device! With more players, the strategy changes completely. You have to watch out for multiple opponents, and the chain dynamics get extra tricky. Each player's lines and boxes are shown in their own colour — Pink, Blue, Green, and Orange — making it easy to see who controls what.

With 3 or 4 players, alliances can form and break in every game! One player might set up a chain that two others fight over. It's chaotic, colourful fun that's perfect for game nights, playdates, or family time.

🧠 Why Dots and Boxes Is Great for Your Brain

Dots and Boxes isn't just fun — it's a fantastic brain workout! Here's what it helps you practise:

📏 Grid Sizes Explained

We offer eight different grid sizes so you can pick the perfect challenge:

🤖 AI Difficulty Levels

Our computer opponent comes in three flavours:

🏆 Challenge yourself: Start on the 3×3 grid with Easy AI. Once you can win every time, move up to a bigger grid or a harder difficulty. Try a 4-player game on a 10×10 grid for total chaos! If you can beat the Hard AI on a 6×6 grid, you're a true Dots and Boxes champion!

📖 A Bit of History

Dots and Boxes has a surprisingly deep history! The French mathematician Édouard Lucas first described the game in 1889 in his book about mathematical recreations. The game quickly became a playground favourite around the world. Mathematicians have studied Dots and Boxes strategy for decades — it turns out this simple-looking game has incredibly deep strategy, especially involving chains and the double-cross technique.

In the 1960s, mathematician Elwyn Berlekamp wrote a famous analysis of the game, showing that the key to winning is controlling how chains form on the board. His work proved that even a game played on napkins can have strategies as deep as chess!

❓ Frequently Asked Questions

Is Dots and Boxes the same as Squares?
Yes! "Dots and Boxes," "Boxes," "Squares," "Dots and Dashes," and "Pigs in a Pen" are all names for the same classic game. Different schools and countries use different names, but the rules are always the same.

Who goes first?
Pink always goes first. In vs Computer mode, you play as Pink. Going first can be a small advantage (or disadvantage!) depending on the grid size and strategy.

Can I play with 3 or 4 friends?
Absolutely! Choose "3 Players" or "4 Players" from the mode menu. Each player gets their own colour: Pink, Blue, Green, and Orange. Pass the device around and take turns!

How can I tell which move was just played?
The most recent line drawn is highlighted with a bright glowing effect. This makes it easy to see exactly what your opponent (or the computer) just did!

What happens when I complete a box?
When you draw the fourth side of a box, it turns your colour and you get another turn right away! If your next line also completes a box, you keep going. This is how players can capture many boxes in a chain!

What's the double-cross strategy?
The double-cross is an advanced technique where you deliberately leave two boxes at the end of a chain for your opponent. They capture those two, but then they're forced to open the next chain for you. It's a clever sacrifice that wins you more boxes overall!

What grid size should I start with?
If you're new to Dots and Boxes, start with the 3×3 grid. It's small enough to see the whole picture and learn how chains work. Once you're comfortable, move up to 4×4 or bigger!