From 60569b60235ecf825390771a84674e5c20df3e63 Mon Sep 17 00:00:00 2001 From: keshi Date: Fri, 16 May 2025 14:50:26 +0200 Subject: [PATCH] added a comment to enpassant and thats it --- src/backend/Board.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/Board.java b/src/backend/Board.java index a8f9dc7..16f8152 100644 --- a/src/backend/Board.java +++ b/src/backend/Board.java @@ -157,7 +157,7 @@ public class Board { // Update its internal coordinates piece.setX(newX); piece.setY(newY); - lastMove= new Move(oldX, oldY, newX, newY, piece); + lastMove= new Move(oldX, oldY, newX, newY, piece);//tracks the last move made System.out.println(" Move saved: " + oldX + "," + oldY + " to " + newX + "," + newY); piece.setDidMove(true);// setting that the piece has been moved