YouYour turn ✏️0
😊 Easy · 4×416 boxes left
0Computer

Dots and Boxes: play the classic paper game online free

Dots and Boxes is the classic pencil-and-paper game, now on a sheet of notebook paper in your browser. Join two dots, close the fourth side of a box to win it and draw again. Play the computer on four levels on five board sizes (3×3 to 8×8), take the daily challenge, play a friend on the same screen or challenge anyone online with a code or a link. It has risky-line warnings, hints, undo, chain combos, 18 badges and leaderboards.

▶ PLAY DOTS AND BOXES

Your record on this device: no games yet
GenrePencil-and-paper game, strategy
Boards3×3, 4×4, 5×5, 6×6, 8×8 boxes
ModesVs computer, daily, two players, online
LevelsEasy, Medium, Hard, Expert
Rewards18 badges, leaderboards
PriceFree, no sign-up, no download

How to play Dots and Boxes

  1. Choose a level (Easy, Medium, Hard or Expert) and a board size from 3×3 to 8×8, or pick Two players, Play online or the Daily challenge.
  2. Tap or click between two neighbouring dots to draw a line.
  3. Draw the fourth side of a box to win it, then draw another line.
  4. Avoid drawing the third side of a box: it lets your opponent take it.
  5. When every line is drawn, the player with the most boxes wins.

Touch and mouse: tap or click close to the line you want. On a touch screen the line under your finger lights up, and you can slide to a different line before you lift your finger. Keyboard: the arrow keys move along the lines, Space turns between across and up-and-down lines and Enter draws. U takes back a line, H shows a hint and N opens the new game menu.

Dots and Boxes rules

RuleHow it works here
📄 SetupA square grid of dots: 4×4 dots make 3×3 boxes, 9×9 dots make 8×8 boxes. No lines are drawn at the start (the daily challenge starts with a few grey pencil lines).
✏️ A turnDraw one line between two dots that are next to each other, across or up and down. Diagonal lines are not allowed.
📦 BoxesDraw the fourth side of a box and it is yours: your mascot moves in. One line can close two boxes at once.
🔁 Extra turnAfter closing a box you must draw another line. If that line closes a box too, you go again, and so on.
🏁 The endWhen every line is drawn, the player with more boxes wins. On 4×4, 6×6 and 8×8 a draw is possible.

Dots and Boxes strategy

At the start almost every line is safe: it does not make a third side. Sooner or later the safe lines run out and every line hands over at least one box. From then on the board is a set of chains (rows of boxes where taking one lets you take the next) and loops (chains that close on themselves).

IdeaWhat it means
🧮 Count the safe linesThe player who draws the last safe line forces the other player to open the first chain. Winning this fight for control usually wins the game.
🎁 Give the smallest chainWhen you must give something away, open the shortest chain. Open a two-box chain in the middle so your opponent cannot double-deal it.
🃏 Double-dealWhen you take a long chain, leave the last two boxes (four in a loop) by drawing the line at the far end. Your opponent takes them but must then open the next chain for you.
📏 Long chain ruleOn a board with an even number of dots in total, the first player wants an odd number of long chains (three or more boxes); on an odd-dot board the first player wants an even number. Steer the board while the safe lines last.

Computer levels

LevelPlays likeGood for
😊 EasyMisses boxes and often draws careless third sidesLearning the rules and your first wins
🤔 MediumTakes every box it can and never gives one away earlyCasual players
🔥 HardDouble-deals and opens chains in the best orderPlayers who know about chains
🧠 ExpertAlso calculates the end of the safe-line phase to win controlA real challenge

Board sizes

BoardDotsLinesA game takes
3×3 Tiny1624about 1 minute
4×4 Small25402 to 3 minutes
5×5 Classic36603 to 5 minutes
6×6 Big49845 to 8 minutes
8×8 Huge8114410 minutes or more

Choose the level, the board and who starts with the New game button (the circular arrow). Two players lets two people take turns on one device as Teal and Berry, and the Daily challenge gives everybody the same 5×5 board each day against the Hard computer.

Play Dots and Boxes online with a friend

Online Dots and Boxes is the same game against a real person on a 4×4, 5×5 or 6×6 board. Both browsers check every line against the same rules, and the lines travel directly between the players (peer to peer), so there is no lag from a game server.

Prefer to watch first? The 45-second online play demo on the home page shows every step.

Start a game with a friend

  1. Tap the pink Play with a friend button (or Play online in the New game menu), type your name, pick a board and choose Invite a friend.
  2. Send the 5-character code or the invite link with Share, Copy link or Copy code, and keep the window open.
  3. Your friend opens Dots and Boxes, taps Play with a friend, then Join a friend, types the code and presses Join. The link does this for them.
  4. The game starts by itself. Who draws first is picked for you, and the other player starts the rematch.

No friend at hand?

Tap Random player to be paired with the next person looking for a game, or pick one of the open games in the list.

Leaving an online game

While an online game is on, the pink button hides to give the board more room and an exit icon appears in the top bar. Tap it once and it turns red; tap it again to leave. If you leave, your opponent wins the game. When the game is over the end screen offers a rematch.

Leaderboards

Every win against the computer can go on the leaderboard, which has This month and All time panels. A win scores 200 points, plus a board bonus (3×3 0, 4×4 100, 5×5 200, 6×6 300, 8×8 450), plus a level bonus (Easy 0, Medium 150, Hard 350, Expert 600, Daily 350), plus 25 points for every box you win by. So a big win on a big board against Expert is worth the most. You only pick a nickname, there is no sign-up, and you can change the name, hide your scores or delete them at any time. Draws, losses, two-player and online games are not ranked.

Badges

There are 18 badges for beating each level, long chains, the double-deal, clean sweeps, the huge board, winning streaks, the daily challenge, two-player and online games and number of games played. Open the medal button in the game to see your progress.

BadgeHow to earn it
🏅 First Box WinWin a game against the computer.
😊 Warm-upBeat the computer on Easy.
🤔 Box ThinkerBeat the computer on Medium.
🔥 Chain MasterBeat the computer on Hard.
🧠 GrandmasterBeat the computer on Expert.
🏆 StrategistWin 5 games on Hard or Expert.
🔗 Chain GangTake 5 boxes in one turn.
🌊 AvalancheTake 10 boxes in one turn.
🃏 Double DealerHand over the last two boxes of a chain on purpose to keep control.
🧹 Clean SweepWin on 4×4 or bigger without letting the computer take a single box.
🗺️ Big ThinkerWin a game on the huge 8×8 board.
🎯 Hat-trickWin 3 games in a row.
⚡ On FireWin 7 games in a row.
☀️ Daily PlayerFinish a daily challenge.
👥 Friendly GameFinish a two-player game on one screen.
🌐 Online RivalFinish a game against a player online.
🥇 Online VictorWin a game against a player online.
🎲 RegularPlay 25 games.

Dots and Boxes tips

  1. Never draw a third side early. Use the risky-line warning until spotting third sides becomes a habit.
  2. Take free boxes, but think first at the end. In the last chain fight, giving away two boxes with a double-deal can win you many more.
  3. Count the safe lines left. If the number is wrong for you, change it: making or breaking a long chain changes who has to open first.
  4. Open short chains first. Give away one- and two-box chains before long ones, and loops before long chains when you are behind.
  5. Use the hint when you are stuck. It shows a box to take, a safe line or the line that gives away the least.
  6. Grow the board with your skill. Win on 3×3 and 4×4, then try the classic 5×5 against Hard.

Frequently asked questions

Is Dots and Boxes free?

Yes. Dots and Boxes on Util.Ninja is completely free to play online, with no sign-up, no download and no in-app purchases. It runs in your browser on computers, tablets and phones, and your statistics and badges are saved on your own device.

How do I play Dots and Boxes?

Players take turns drawing one line between two dots that are next to each other, across or up and down. Whoever draws the fourth side of a box wins that box and must draw another line. When every line is drawn, the player with the most boxes wins.

Can I play Dots and Boxes online against another person?

Yes. Tap Play with a friend, choose Invite a friend and send the 5-character code or the link, or pick Random player or an open game for a quick match. Choose a 4×4, 5×5 or 6×6 board. The two browsers are connected directly, so every line you draw shows up on your friend’s screen at once, and no account is needed.

Who goes first in online Dots and Boxes?

The game picks who draws the first line when the connection is made, and the other player starts the rematch. The glowing player card always shows whose turn it is.

How do I leave an online game?

Tap the exit icon in the top bar. The first tap turns it red, the second tap leaves the game and your opponent wins. If your opponent leaves, you win.

What happens when I close a box?

You win the box, your mascot moves in, and you must draw another line straight away. Closing several boxes one after another in the same turn is called a chain, and long chains decide most games.

Why should I avoid drawing the third side of a box?

A box with three sides can be closed by your opponent on their next line, so the third side hands the box over (and often a whole chain of boxes). With the risky-line warning on, such lines show as a red dashed line with a warning sign before you draw them.

What is a double-cross or double-deal?

When your opponent gives you a long chain near the end of the game, you can take all of it except the last two boxes and draw the line at the far end instead. Your opponent gets those two boxes, but then has to open the next chain for you. Giving up two boxes to keep control is the most important trick in Dots and Boxes, and the Hard and Expert computers use it.

What are the four computer levels?

Easy often draws careless third sides and is good for learning. Medium never gives a box away early and always takes what it can. Hard also plays the double-deal and opens chains in the best order. Expert additionally calculates the end of the safe-line phase to win the fight for control. None of them cheats.

Which board size should I pick?

3×3 is a one-minute game for learning, 4×4 is quick, 5×5 is the classic size, 6×6 is a longer strategic game and 8×8 is a huge board with long chains and loops. Bigger boards give the better strategist more room.

What is the daily challenge?

Every day everybody gets the same 5×5 board with some grey pencil lines already drawn, and plays it against the Hard computer. Win to put your score on the daily leaderboard and come back tomorrow for a new board.

Does Dots and Boxes have a leaderboard?

Yes. Wins against the computer are ranked on a leaderboard with This month and All time panels. A win scores 200 points plus a board bonus (3×3 0, 4×4 100, 5×5 200, 6×6 300, 8×8 450), a level bonus (Easy 0, Medium 150, Hard 350, Expert 600, Daily 350) and 25 points for every box you win by. You only choose a nickname, with no sign-up.

Can I play on a phone?

Yes. Dots and Boxes works on phones and tablets in portrait and landscape. Tap near a line to draw it: you can slide your finger to pick a different line before you lift it, so you never draw the wrong one. On a computer you can also use the mouse or the keyboard (arrow keys, Space to turn, Enter to draw).

More free board games to play online: Four in a Row, Reversi, Checkers, Tic Tac Toe and Sea Battle.