The Rook's Movement

Rules of Movement

The Rook is a piece that can move only in straight lines.

A Rook can move from a square (file1,rank1)(file_1, rank_1) to another square (file2,rank2)(file_2, rank_2) only if the following condition is met:

file1=file2extorrank1=rank2file_1 = file_2 ext{ or } rank_1 = rank_2

This means it can move either vertically (up or down) on the same file, or horizontally (left or right) on the same rank.

Examples

a1 → a8 (Vertical - Valid)

  1. Start Position: a1 = (1,1)(1, 1)
  2. Target Position: a8 = (1,8)(1, 8)
  3. Calculation:
    • File difference: 11=0|1 - 1| = 0 (same file)
    • Rank difference: 18=7|1 - 8| = 7 (different rank)
    • Result: ✅ Legal Move

d4 → h4 (Horizontal - Valid)

  1. Start Position: d4 = (4,4)(4, 4)
  2. Target Position: h4 = (8,4)(8, 4)
  3. Calculation:
    • File difference: 48=4|4 - 8| = 4 (different file)
    • Rank difference: 44=0|4 - 4| = 0 (same rank)
    • Result: ✅ Legal Move

c3 → f6 (Invalid)

  1. Start Position: c3 = (3,3)(3, 3)
  2. Target Position: f6 = (6,6)(6, 6)
  3. Calculation:
    • File difference: 36=3|3 - 6| = 3 (different file)
    • Rank difference: 36=3|3 - 6| = 3 (different rank)
    • Result: ❌ Illegal Move

Practice Your Skills

♟️

Legal Moves

Practice identifying whether a piece can legally move from one square to another