Grid War (Dots & Boxes) Rules & Operating Guide
1. Grid Topology & Alternating Lines (Dots & Lines)
The grid consists of $(N+1) \times (N+1)$ dots forming $N \times N$ capture boxes. Players (Green Lime and Magenta) take turns drawing horizontal or vertical lines between adjacent dots. Undrawn edges are hinted with subtle dashed outlines and light up with player colors on hover or touch.
2. Box Captures & Combo Streaks (Capture & Streaks)
When a player completes the fourth and final edge of a 1Ă1 box, they capture that box and claim its score! đĽ Core Reward: Completing a box grants an immediate 'draw again' bonus turn! Completing two boxes with a single stroke awards 2 points, triggers a combo streak, and progressively raises the audio pitch!
3. đ˛ Pre-drawn Random Lines Mode (Random Layouts)
Enjoy our exclusive 'Opening Layout' feature! In addition to a clean empty board, choose Casual (~15% lines), Tactical (~30% lines), or Intense Endgame (~45% lines). The generator ensures no 3-edge boxes are pre-formed, skipping early setup directly into decisive tactical battles!
4. Chains, Sacrifices & AI Difficulty (Strategy & AI)
The master strategy of Dots & Boxes is avoiding drawing the 3rd side of any box (which surrenders points). When no safe moves remain, expert players calculate Sacrificial Chains to surrender minimal boxes while seizing initiative. Hard AI features deep chain evaluation and combo harvesting!
đ Online Multiplayer (P2P) Guide
â Host a Room (Host Player)
Switch Game Mode to 'Online 2-Player (P2P)'. The system generates your unique Peer ID. Click 'Copy' to share your ID with your friend. The host plays as Green (First), and grid size/layout settings sync automatically.
⥠Join a Room or Spectate
The opponent switches to P2P mode and inputs the host's Peer ID. Clicking 'Battle' joins as Magenta (Second). Clicking 'Spectate' joins as a spectator, synchronizing lines, scores, and chat in real-time without interfering with gameplay.
⢠Undo & Rematch Requests
In P2P matches, clicking 'Undo' or 'Restart' sends a confirmation prompt to the opponent. Both players must agree before actions execute, ensuring fair and reciprocal gameplay.
⣠In-Game Chat & Resignation
Upon connection, the right panel unfolds a real-time chat window for match banter and tactics. If the game outcome is determined, either player can click 'Resign' to end the match.