15s
Player 1's Turn
P1
Player 1
0boxes
TURN
TURN
Computer
0boxes
CPU
Game Settings
Grid Size
Computer Level
Turn Timer
Game Guide & Overview

How to Play Dots and Boxes (2 Player & AI Rules)

Master the timeless classic paper-and-pencil game right in your browser. Whether challenging a friend in 2-player pass-and-play or sharpening your skills against smart AI opponents, here is everything you need to know.

1

Connect Adjacent Dots

Players take turns drawing one horizontal or vertical line between two unlinked dots. Diagonal lines are prohibited.

2

Complete 1x1 Boxes

When you place the 4th side around any 1x1 box, you claim it, earn 1 point, and receive a mandatory extra turn to draw again.

3

Double-Cross & Win

Avoid placing the 3rd side on any box early. Force your opponent to open chains, execute the double-cross sacrifice, and claim the victory!

About the Platform

About Dots and Boxes Online (BoxBattle)

Invented in 1889 by French mathematician Γ‰douard Lucas under the name La Pipopipette, Dots and Boxes has entertained generations. BoxBattle modernizes this strategy game for web browsers with responsive controls, zero downloads, and complete privacy.

πŸ‘₯

2 Player & AI Modes

Play locally with a friend on mobile, tablet, or PC, or test your skills against Easy, Medium, and Hard AI engines.

πŸ“

Multiple Grid Sizes

Choose from fast 3x3 dot sprints to deep 5x5, 6x6, and 7x7 combinatorial matches with full chain parity dynamics.

πŸ”’

100% Free & Private

No account creation, no intrusive tracking, and no downloads required. Your game statistics stay safely on your local device.

⚑

Audio & Tactile Effects

Enjoy procedural sound effects, haptic vibration support on mobile devices, and celebratory victory animations.

Frequently Asked Questions

How do you win Dots and Boxes every time?

The secret is mastering the Double-Cross. When given a chain of boxes, capture all but the final two boxes, then forfeit those two boxes by drawing an internal dividing line. This forces your opponent to take the final two boxes and break open the next chain for you, giving you control of the board.

What is the winning strategy for 6x6 and 5x5 grids?

A 6x6 dot grid contains 25 boxes (an odd number), meaning ties are impossible and the first to reach 13 boxes wins. Success on 6x6 grids relies on parity control over long chains (3+ boxes) and making strategic 4-box loop sacrifices to sweep the largest remaining corridors.

Can I play with 2 players locally on the same screen?

Yes! Switch the mode selector in the top bar to 2 Player to play local pass-and-play with custom player names and colors on any smartphone, tablet, laptop, or desktop.