Rules of Movement
The Rook is a piece that can move only in straight lines.
A Rook can move from a square to another square only if the following condition is met:
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)
- Start Position: a1 =
- Target Position: a8 =
- Calculation:
- File difference: (same file)
- Rank difference: (different rank)
- Result: ✅ Legal Move
d4 → h4 (Horizontal - Valid)
- Start Position: d4 =
- Target Position: h4 =
- Calculation:
- File difference: (different file)
- Rank difference: (same rank)
- Result: ✅ Legal Move
c3 → f6 (Invalid)
- Start Position: c3 =
- Target Position: f6 =
- Calculation:
- File difference: (different file)
- Rank difference: (different rank)
- Result: ❌ Illegal Move