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)

Move Preview

In-game move previews are controlled via left panel → Options → Move preview. This single selector replaces the older split between preview hints and square-highlighting.

Use it to switch between Off, Classic, Classic squares, and Modern, which emphasizes the selected square and shows empty destinations as dots and occupied capture targets as rings.

When Move preview is set to Off, the separate Selection option lets you keep a Classic ring, Classic square, or Modern selected-square highlight.

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.
Warning: If a game is already in progress, clicking either Import PGN button will show a confirmation prompt before proceeding. The current game will be lost once you confirm.

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.

Players (Optional)

Classic Chess supports optional bot opponents. Open Game Panel → Players. For each side, first choose Human or Bot. If you choose Bot, a second dropdown lets you pick a tier (Beginner / Intermediate / Advanced / Master).

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 ore press spacebar to resume bot”). Tap the toast itself to resume.
Playback timing: If Use recorded move times is checked in Playback, the fixed playback speed slider is disabled and replay uses the saved per-move timing instead.
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