logoalt Hacker News

TheOtherHobbestoday at 12:16 PM1 replyview on HN

Unlike en-passant and castling, pinning and discovered checks are consequences of lower-level rules.

At the "Is this move legal?" level, they don't need unique rules of its own if the lower-level rules are specified correctly.


Replies

JohnKemenytoday at 12:37 PM

3.9.2: no piece can be moved if that exposes or leaves its own king in check.

show 1 reply