Concept
Piece moves
You might say: how the pieces move, legal movement
Each piece has a defined movement geometry; bishops, rooks and queens slide along unobstructed lines, while knights jump and pawns have asymmetric moves.
- What it does
- Defines the destinations, blocks and captures that a legal move can use.
- Ask
- Which squares can this piece legally reach, and what blocks or captures along the way?
What to look for
- Sliding bishops, rooks and queens
- Knights jumping
- Pawns with asymmetric moves
Sources
- FIDE, Laws of Chess (from 1 January 2023), Article 3.2–3.5
The bishop may move to any square along a diagonal on which it stands.
- FIDE, Laws of Chess (from 1 January 2023), Article 3.3–3.6
The rook may move to any square along the file or the rank on which it stands.
- FIDE, Laws of Chess (from 1 January 2023), Article 3.4–3.6
The queen may move to any square along the file, the rank or a diagonal on which it stands.
- FIDE, Laws of Chess (from 1 January 2023), Article 3.5–3.6
When making these moves, the bishop, rook or queen may not move over any intervening pieces.
- FIDE, Laws of Chess (from 1 January 2023), Article 3.6
The knight may move to one of the squares nearest to that on which it stands but not on the same rank, file or diagonal.
- FIDE, Laws of Chess (from 1 January 2023), Article 3.7.1–3.7.3
The pawn may move forward to the square immediately in front of it on the same file, provided that this square is unoccupied, or
- FIDE, Laws of Chess (from 1 January 2023), Article 3.7.3
the pawn may move to a square occupied by an opponent’s piece diagonally in front of it on an adjacent file, capturing that piece.
- FIDE, Laws of Chess (from 1 January 2023), Article 3.8.1
by moving to an adjoining square
Use it on your project
teardown-apply: hold "Piece moves" (piece-moves) from the teardown at https://teardownatlas.com/chess/ against my project
Paste it into a coding agent that has the teardown skills.
An AI agent wrote this map with the teardown skill. It can contain errors: check the sources before you rely on a part. About and legal