diff --git a/development/src/logic/pieces.ts b/development/src/logic/pieces.ts index 28426688..9c3a096c 100644 --- a/development/src/logic/pieces.ts +++ b/development/src/logic/pieces.ts @@ -116,7 +116,7 @@ export class Pawn extends Piece { ) { return this.position; } - console.log(enPassantPosition); + // Pawns can attack diagonally. const isDiagonalMovement = absDeltaY === 1 && absDeltaX === 1; this.enPassant =