Chessnut
Chessnut copied to clipboard
A pawn cannot put a king in check on the last line
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