StackWorks — Classic Chess Help & Rules

Classic Chess uses standard chess movement and check rules: check, checkmate, stalemate, castling, en passant, and promotion.

Table of Contents

Rules Overview

Movement (Chess)

Repetition & Draws (Chess-style)

Movement & Check

Select a piece to see legal destinations. Legal moves are highlighted.

Check reminder: A move is illegal if it leaves your king in check.

Special Moves

Castling

En Passant

Promotion

Repetition & Draws

Repetition is based on repeating the same position, not repeating the same moves.

The same position means: same player to move, same piece placement, and the same relevant rights (castling rights and en passant state).

Using the Interface

Keyboard shortcuts

Shortcuts use Ctrl (Windows/Linux) or Cmd (macOS). Shortcuts are disabled while typing in a text field.

Analysis mode (private sandbox)

Board visualization (arrows & highlights)

Touch / tablet (Analysis mode): On touch devices, a small swatch palette appears below the board while Analysis is enabled.

PGN Import & Export

You can import/export games using PGN (Portable Game Notation). This is useful for sharing games with other chess tools or importing a game from elsewhere.

Import (Paste or Upload)

Note: PGN import is offline-only for now. In online rooms, the server is authoritative and imported moves are blocked.

Export (Current Line)

FEN Copy/Share

FEN (Forsyth–Edwards Notation) is a compact string that describes a single chess position.

Copy FEN from any move: Right-click any Move History entry and choose Copy FEN. This copies the FEN for that exact position to your clipboard.

You can paste the FEN into chess analysis tools, share it with a friend, or use it to report/debug a position.

Bot (Optional)

Classic Chess supports optional bot opponents. Open Game Panel → Bot and set White and/or Black to a tier (Beginner / Intermediate / Strong).

Warmup note: The first time Stockfish loads, it may take a while (WASM compile/download). The UI will show a warmup message while it initializes.
Pause/resume: When the bot is paused on its turn, an on-screen toast appears (for example: “White’s turn. Tap here to resume bot”). Tap the toast itself to resume.
Local engine option: If in-browser Stockfish doesn’t work well on your device, you can run the local Stockfish HTTP server and configure the web app with VITE_STOCKFISH_SERVER_URL.

Notation

The move list uses a simple square-to-square notation, using for moves and × for captures.

Back to Game