Chessar.io

Chessar.io / Rules

Rules of Chessar.io

Chessar.io is chess on one endless shared board with no turns: each army moves whenever its own cooldown is over. This page is every rule the game enforces today, with its constants.

Updated

Worlds

Today only the Sandbox (world id 10s, 5 s cooldown) is open to players (/health publicModes: ["10s"], rankedModesEnabled false). Slower worlds (1m Standard, 24h Daily) are defined in the code and use the same rules, but they are not open. Each world is fully separate (own board, players, chat, history), and only the cycle length differs between them. Sandbox vs Ranked, accounts, and the 100-player sandbox plan: modes.md.

World Cycle (cooldown) Open today
10s Sandbox (default; the id is kept for API and stored data, the cooldown is 5 s) 5 s yes
1m Standard 1 min no, defined only
24h Daily 24 h no, defined only

Every timing rule is in cycles (1 cycle = the world's cooldown), so changing world speed rescales the whole meta. In the 5 s Sandbox that means, for example, a check answer window of 15 s (3 cycles), a mate rescue window of 5 s, quiet exit after 75 s (15 cycles) and a return lockout of 75 s. The cycle length is set in one place, GAME_MODES in packages/protocol/src/modes.ts.

Constant Value Meaning
maxRange 4 Max slide of Q / R / B
spawnSpacing maxRange = 4 Minimum Chebyshev distance from any other piece at spawn; spawn lattice pitch = footprint + spacing − 1 = 7 × 8
zoneMinRadius, zoneDensity 10, 4 Target radius = max(10, ⌈4·√n⌉), n = alive players
chatRange 16 Nearby chat reach (Chebyshev distance between Kings)
quietExitCycles 15 No own move + no lost piece → auto-hibernate; under check → mate-path removal instead
checkGraceCycles 3 After you become ready under check, this many cycles to answer or die
returnLockoutCycles 15 Wait after any hibernate before returning
idleSafetyCapCycles 90 Never-moved and never-touched army is removed
captureRecruit true Capture → recruit that type only if victim material ≥ yours (pre-capture)
mateCredit 'last' The last hit is the credited killer (stats, matedBy); it does not decide who is rewarded
mateReward 'raid' The mated army's non-King pieces become a shared pool every attacker takes from, first come first served (see Growth)
exits 'earned' Hibernate only via earned exit (or quiet exit)

Board & spawn

. P P .
P R B P
N Q K N
P B R P
. P P .

Moving

Piece Moves Captures
King 1 cell, any direction same
Queen / Rook / Bishop slide up to maxRange, stopped by the first piece the first enemy piece on the line
Knight classic L, jumps same
Pawn 1 cell orthogonally; 2 cells (both empty) as its first move as a member of the army: spawned, returned, recruited and raided pawns all start fresh 1 cell diagonally, or en passant

Check, mate, stalemate

Outcome When
Check At least one enemy piece attacks your King. Only moves that end it are legal. A check clock runs: deadline = max(now, readyAt) + checkGraceCycles × cooldown; miss it while still checked → same death as a held mate
Checkmate In check with no legal move. A rescue window of one cycle opens: if anyone breaks the mate in time (captures a checker, blocks a line, frees a square), the King lives; if the mate still holds when the window ends, the army falls
Stalemate Not in check and no legal move → you skip one cycle (not a death)

Growth (capture-recruit, mate raid)

Material for growth gates uses the same chess values as spawn and the player list: Q 9 · R 5 · B 3 · N 3 · P 1 (King 0). Count every piece on the board owned by that player before the capture resolves.

Leaving and dying

Action Effect
Death (held mate, check-clock timeout, or idle/leave under check) Army removed via the shared mate-credit path. Respawn a fresh Warlord Stack at any time, ready to move at once
Surrender / leave Starts a one-cycle leave window (leaveUntil). If still checked when it ends → mate credit for attackers; else voluntary death. Cannot leave during a mate rescue window (mate_pending)
Earned exit (hibernate) After taking a piece from a mate raid, until your next move, you may hibernate even while cooling down (not in check). Reject no_earned_exit otherwise. Same returnLockoutCycles
Quiet exit quietExitCycles with no own move and no lost piece → automatic hibernate when not in check. Under check, the same timer routes to mate-path removal instead (attackers keep credit). An own move or a lost piece (re)starts the quiet window; check alone does not
Idle safety cap Removes only armies that never moved and were never touched (idleSafetyCapCycles)
Return After the lockout: Warlord Stack with holes for missing types; every leftover piece (any type) goes on rings clockwise from east of the King (order Q, R, B, N, P)
Abandon During the lockout, drop the stored army and respawn fresh

Identity

Diplomacy

Chat is not game state: it never changes the board, seq or snapshots.

Client

Play now