Looking for a Dots and Boxes 2 player game you can start right now? Dots & Boxes on My MP Games is the pencil-and-paper classic rebuilt for your browser: take turns drawing lines between dots, close a box to claim it and finish with more boxes than your opponent. Invite a friend online with a room code, pass one phone or laptop back and forth, or practise against the computer. It is free, it works on desktop, tablet and mobile, and there is no download, no app and no sign-up.
How to Play Dots and Boxes Online
- Pick a mode. Press Create room to host a friend, Join room if you have a code, Local vs to share one device, or Play vs Computer for an instant solo game.
- Draw a line. On your turn, tap or click the gap between two neighbouring dots. The line is drawn and that gap is gone for the rest of the game.
- Close a box. If your line completes the fourth side of a box, the box is yours, it is marked with your letter and you draw again.
- Pass the turn. If your line closes nothing, it is your opponent's turn. The scoreboard shows each player's boxes and the Moves list records every line.
- Count the boxes. When all 40 lines are drawn, the player who owns more of the 16 boxes wins. From the result screen you can start the next game straight away.
Dots and Boxes Rules
The board
The game uses a 5×5 grid of dots. That makes 40 possible lines (20 horizontal and 20 vertical) and a 4×4 square of 16 boxes to fight over.
Claiming boxes and extra turns
Lines are only horizontal or vertical, between two dots that sit next to each other. Drawing the fourth side of a box scores one point, and you must then move again. One line can sometimes close two boxes at once. That scores two points, and you still move again.
Winning and draws
The game ends when every line has been drawn. More boxes wins, and an 8–8 split is a draw.
Game Modes: Online, Local and vs Computer
Online with friends (room code)
Press Create room and you get a five-character room code. Copy the code or the invite link and send it to your friend. They enter it under Join room or open the link, you approve them, both of you press Ready and the host presses Start match. As host you can lock the room, auto-approve joiners and list the room as public or private for spectators, and there is a room chat. Each of you plays on your own phone, tablet or computer.
Challenge online players
Open the live arena, see who is free right now and send a duel invite. No login is needed.
Local vs on one device
This is Dots and Boxes for two people in the same place. Both players share one screen and take turns drawing lines, which makes it a quick paper-free version for a sofa, a classroom or a long trip.
Play vs Computer
Press Play vs Computer and the board opens at once with you to move first. The computer will take any box you leave open, so it punishes a careless third side. Use it to learn the rules and practise chain counting.
Controls for Touch, Mouse and Keyboard
- Touch: tap the gap between two dots to draw that line. The whole board fits on a phone screen in portrait.
- Mouse: click the gap between two dots.
- Keyboard: press Tab to move through the line buttons and Enter to draw the highlighted line.
- Lines that are already drawn cannot be picked again. In Local vs, both players use the same board and simply take turns.
Tips and Strategy to Win at Dots and Boxes
- Never draw the third side. A box with three sides is a free gift. Early in the game, any line that does not create a three-sided box is safe.
- Watch the safe moves run out. Sooner or later every remaining line gives something away. By then the board has split into chains, rows of boxes that can be taken one after another once the first is opened.
- Give away the short chains first. When you must open something, open the shortest chain or a single box, never a long one.
- Learn the double-cross. When your opponent opens a long chain, take every box except the last two, then draw the line that leaves those two as a pair. Your opponent takes the pair but must then open the next chain for you. Giving up two boxes to keep control is how experts win.
- Use the long chain rule. A long chain has three or more boxes. Elwyn Berlekamp's rule says the first player wants the number of dots plus long chains to be even, and the second player wants it odd. On this 25-dot board, that means the first player is aiming for an odd number of long chains, and the second player for an even number. Steer the middle game towards the count you need.
History of Dots and Boxes and Popular Variants
The Dots and Boxes game was first published by the French mathematician Édouard Lucas in 1889, under the name la pipopipette. It has since been called dots and dashes, squares, boxes and pigs in a pen. Mathematicians love it because the simple rules hide deep strategy, and Elwyn Berlekamp wrote a whole book on the game.
On paper, people play on boards of every size, from a quick 3×3 grid of dots up to large boards for experts, and some versions use triangular or hexagonal grids. Some apps also let three or four players share a board. These are paper and app variants. The online game on My MP Games has one Classic version: two players, a 5×5 grid of dots and the standard extra-turn rule. If you enjoy Dots & Boxes, try the other free 2 player games below. My MP Games has 50+ free multiplayer games, all playable in the browser.

Dots and Boxes 2 Player FAQ
Can you play Dots and Boxes online with friends?
Yes. Press Create room and send your friend the five-character room code or the invite link. They join, you approve them, both press Ready and the host starts the match. You can also challenge players who are free in the live arena.
Can you play Dots and Boxes 2 player on one device?
Yes. Choose Local vs and two players take turns on the same phone, tablet or computer. You do not need an account or a second screen.
Is Dots and Boxes free to play online?
Yes. Dots & Boxes on My MP Games is free and runs in your browser on desktop, tablet and mobile. There is nothing to download and no sign-up.
Can you play Dots and Boxes by yourself?
Yes. Press Play vs Computer for an instant solo game. You move first, and the computer replies straight away.
How does Dots and Boxes work?
Players take turns drawing one line between two neighbouring dots. Whoever draws the fourth side of a box claims it and moves again. When all lines are drawn, the player with more boxes wins.
How do you win Dots and Boxes every time?
Nobody wins every time against a good player, but three habits win most games: never draw the third side of a box, open the shortest chain when you have to give something away, and use the double-cross to keep control of the long chains.
Is Dots and Boxes luck or skill?
It is pure skill. There are no dice, cards or hidden information, so every result comes from the lines the two players choose.
How many boxes are on the board?
Sixteen. The board is a 5×5 grid of dots, which makes a 4×4 square of boxes and 40 lines. A 16-box game can end 8–8, which is a draw.
More Free 2 Player Games
Dots & Boxes is one of 67 free games on My MP Games. Try these related games next: