FAILURE MAP
← Case archive

FA-82720 / Chess move legality / Member archive

Undefended rook can never be captured · case 05

A lone rook next to the black king is not offered as a capture.

Member previewVariant 5 · 3 implementations · 8 checks per implementation

Case contract

Input: {"wk", "wr", "bk"} squares (black to move). Return the sorted squares the black king may move to: on the board, not adjacent to the white king, and not attacked by the rook along a rank or file (the white king blocks the rook; the black king's origin does not). Capturing the rook is legal when the rook is not adjacent to the white king.

Why this case matters

Endgame tablebase generators and mate detectors depend on exact escape squares.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
capture undefended rook["d5", "d6", "f5", "f6"]["d5", "d6", "e4", "f5", "f6"]Failed

MEMBER ARCHIVE

The complete case is available to members.

This record includes three runnable implementations, regression fixtures, execution results, and source hashes.

Member access is invitation-based. Sign in with your invited account to inspect the sources.

Sign in to the archive ↗