Dots and Boxes Play Online vs Computer or a Friend

Step 1: Choose your opponent and board size

Step 2: Tap a line between two dots to play

0You (blue)
0Computer

© 2004–2026 QuickOnlineTips. This game’s code and design are our own work. You are welcome to use it here for free, but please do not copy, republish or sell it. Terms of use

Help us improve this game

★ Black Friday★ Cyber MondayWeb hosting up to 85% off, checked on each host’s own siteGrab the deals →

About this game

Play dots and boxes, the classic pencil-and-paper game, free in your browser. Take turns drawing a line between two dots. Close the fourth side of a box to claim it and draw again. When every box is taken, the player with the most boxes wins. Play the computer at three levels or a friend on the same screen.

Quick answer: Click or tap any gap between two neighboring dots to draw a line. If your line finishes a box, the box turns your color, you score a point and you go again. If not, it is the other player’s turn. The game ends when all boxes are filled.

How to play dots and boxes

  1. Start with an empty grid of dots. You are blue and move first.
  2. On your turn, draw one horizontal or vertical line between two dots that are next to each other.
  3. Complete the fourth side of a box to claim it. You must then draw another line.
  4. When every box is claimed, the player with the most boxes wins.

Dots and boxes strategy

  • Don’t draw the third side. A box with three sides is a free point for your opponent.
  • Think in chains. Late in the game, boxes link into long chains. Giving away a short chain is better than a long one.
  • Sacrifice to win. Strong players sometimes leave the last two boxes of a chain so the opponent has to open the next, bigger chain. This is called a double-cross.
  • Count the long chains. In the endgame, the number of long chains decides who gets control.

Computer levels

LevelHow it plays
EasyOften misses free boxes and plays random lines
MediumTakes every free box and avoids drawing third sides
HardAlso gives away the smallest chain when it has to

The game was first described by the French mathematician Édouard Lucas in 1889 and is still a favorite for road trips and classrooms. More classic games: checkers, tic tac toe and hangman.

FAQ

Why did I get another turn?

Whenever your line completes a box, you keep the turn and must draw another line. You can chain many boxes in one turn.

Which board size should I pick?

3 × 3 is quick and great for kids. 4 × 4 is the classic size, and 5 × 5 or 6 × 6 makes longer, more strategic games.

Found this useful? Share it with someone who needs it.

Tech Terms Starter Pack cover

$4.99Free when you subscribe

Get 100 tech terms explained in plain English

8-page PDF on AI, coding, slang and SEO + one tech email a week.

Don’t want emails? Buy the PDF for $4.99 (opens in a new tab)

Sent by email. Unsubscribe anytime. See our privacy policy.

Latest Tech Guides