Comment

Comment by Fang_

> Black to move, and in the final position, the pawn at h4 can be captured en-passant.

> They're all legal.

But then, looking at the final position[1], black is in check by the knight on b2. If white's pawn can be captured en passant, this implies the knight was not the most recent move, so the black king was in check on the previous turn as well.

It's obviously not legal to remain in check. What am I missing?

[1] https://raw.githubusercontent.com/tromp/ChessPositionRanking...

parent Fang_ 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton