Comment

Comment by TheOtherHobbes

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.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton