Dots and Boxes is the classic pencil-and-paper dot game for 2 to 4 players: take turns joining two neighbouring dots with a line, and whoever draws the fourth side of a box claims it and goes again. Play it here for free on one phone, tablet or computer with friends or family, or against the computer on three levels. It works offline once the page has loaded, there is nothing to install, and a game on the default board takes about five minutes. You may know it as the dot game, boxes or squares.
Friends on their own phones? Play Dots and Boxes online with friends: start a room, send the link, and draw your lines from your own device.

How to play Dots and Boxes
- The board starts as a square grid of dots. Pick 3×3, 4×4, 5×5 or 6×6 boxes in the setup; 4×4 is the default.
- On your turn, draw one line between two dots that sit side by side, either across or down. Diagonal lines are not allowed.
- When your line completes the fourth side of a box, the box is yours: it fills with your color and your initial.
- After closing a box you must draw another line. One line can close two boxes at once, which still earns one extra line.
- A line that closes no box ends your turn, and play passes to the next player.
- The game ends when every box is claimed. The player with the most boxes wins; equal top scores share the win, and a full tie is a draw.
For every rule in detail, board sizes, scoring with three or four players and popular house rules, read how to play Dots and Boxes.
Prefer to watch? See the 6-minute video on the Dots and Boxes rules page.
Play Dots and Boxes on one device
This version is made for people sitting together around one screen. Type everyone’s name, choose who goes first and start. The bar above the board always says whose turn it is, and each player’s box count sits in their badge.
- Big tap areas: you don’t have to hit the thin gap exactly. Each line has a tap area that reaches halfway to the boxes beside it, so a tap anywhere near a line draws that line.
- Tap twice on big boards: on a small touch screen, 5×5 and 6×6 boards ask for a second tap (or the Draw button) to confirm a line. You can switch this in the More menu.
- Keyboard play: move between the lines with the arrow keys and press Enter or Space to draw.
- Clear board: the newest line carries a small dot, and every claimed box shows its owner’s initial as well as their color.
- Undo, rematch and score: Undo takes back the last line, even in the middle of an extra turn. Rematch starts a new game with the next player first, and the session score is kept.
- Pass screen (optional): switch it on to show a “Pass to Maya” screen between turns. The game saves after every line, so a closed tab doesn’t lose it.
Play against the computer
Choose vs Computer for a two-player game, or give any seat to the computer in a game for three or four. Then pick a level:
- Easy draws lines more or less at random, but never misses a box that is ready to close. A friendly level for children and first games.
- Medium takes every box it can, avoids drawing a box’s third side while it has a choice, and gives away as little as possible when it has to.
- Hard also plans the endgame. It counts chains and loops, hands over the cheapest one in the safest way, and uses the double-cross to keep control of the last long chains. With three or four players it plays like Medium.
Quick tips
- Don’t draw the third side of a box. Your opponent closes it and moves again. Early on, almost every line is safe; later, safe lines run out.
- Count the chains. Near the end the open boxes form chains. When you must give one away, give away the shortest.
- Learn the double-cross. Taking a long chain, you can leave its last two boxes to your opponent so that they have to open the next chain for you.
Our Dots and Boxes strategy guide explains chains, the double-cross and the long chain rule with diagrams. If you like games played on a grid of paper, try Tic-Tac-Toe and Gomoku, play a round of Hangman, or browse our list of pen and paper games.


