Chess Rulebook

Interactive visual guide — click any rule to see it in action.

📖

The Basics

Chess is played on an 8×8 board between two players — White and Black. Each player starts with 16 pieces. White always moves first. The goal is to checkmate the opponent's King.

Starting Position

Each side has:

  • 1 King ♔
  • 1 Queen ♕
  • 2 Rooks ♖
  • 2 Bishops ♗
  • 2 Knights ♘
  • 8 Pawns ♙

White pieces start on rows 1–2, Black on rows 7–8.

How Pieces Move

Every piece moves differently. Click a piece below to see its movement pattern highlighted on the board. Yellow dots show where it can move.

Select a piece
King
Queen
Rook
Bishop
Knight
Pawn

King

  • Moves 1 square in any direction
  • Cannot move into check
  • Most important piece — protect it!
🔼

Pawn Special Rules

Pawns are unique — they move forward only but capture diagonally. On their first move they can advance 1 or 2 squares.

Click a step to visualize
1
First move: can go 1 or 2 squares forward
2
After first move: only 1 square forward
3
Captures diagonally forward only
🏰

Castling

Castling is the only move where two pieces move at once. The King moves 2 squares toward a Rook, and the Rook jumps to the other side of the King. Used to protect the King and activate the Rook.

Watch castling in action
1
Before: King & Rook in starting positions
2
Kingside castling (O-O): King moves right
3
Queenside castling (O-O-O): King moves left
4
❌ Cannot castle if King is in check
💨

En Passant

A special pawn capture. If an opponent's pawn advances 2 squares and lands beside your pawn, you can capture it as if it only moved 1 square. Must be done immediately — the opportunity expires next move.

En Passant step by step
1
White pawn reaches 5th rank
2
Black pawn advances 2 squares beside it
3
White captures diagonally — black pawn removed!
⚠️

Check & Checkmate

Check — your King is under attack. You must resolve it immediately by moving the King, blocking, or capturing the attacker. Checkmate — the King is in check with no escape. Game over!

Visualize check situations
1
King in Check — must escape
2
Block the check with another piece
3
Checkmate — no escape possible!
🤝

Stalemate & Draw

Stalemate happens when a player has no legal moves but is not in check. The game ends as a draw. Other draws: insufficient material, threefold repetition, or 50-move rule.

Stalemate position

Draw conditions:

  • Stalemate — no legal moves, not in check
  • Threefold repetition
  • 50-move rule (no capture/pawn move)
  • Insufficient material
  • Mutual agreement

⬅ Black King has no legal moves but is not in check — Stalemate!

👑

Pawn Promotion

When a pawn reaches the opposite end of the board (rank 8 for White, rank 1 for Black), it must be promoted to a Queen, Rook, Bishop, or Knight. Almost always promoted to a Queen.

Watch promotion happen
1
White pawn on 7th rank, one step from promotion
2
Pawn advances to rank 8
3
Player chooses between ♕, ♖, ♗, ♘ (Queen selected)