fix en passant

This commit is contained in:
2025-04-15 21:33:49 +02:00
parent 87992b181e
commit edf95a1691
3 changed files with 17 additions and 2 deletions

View File

@@ -70,6 +70,7 @@ public class ChessBoard {
pieceComes(movingPiece, move.getStart());
pieceLeaves(move.getFinish());
pieceComes(deadPiece, move.getDeadPieceCoords());
assert movingPiece != null;
movingPiece.unMove();
}