Chessnut icon indicating copy to clipboard operation
Chessnut copied to clipboard

A pawn cannot put a king in check on the last line

Open yweber opened this issue 4 years ago • 0 comments

A move for a pawn going on the last line is a promotion : departure, arrival, promotion piece.

This special move format make the "in check" test fails when comparing king position to pawn destination.

Proposed fix : #16

yweber avatar Apr 18 '21 11:04 yweber