This commit is contained in:
Louise BERTELOOT 2025-05-07 15:46:32 +02:00
commit 3193c81cba
1 changed files with 4 additions and 5 deletions

View File

@ -207,9 +207,9 @@ public class Board {
String line = piece.getType() + "," + piece.getX() + "," + piece.getY() + "," + piece.isWhite();
lines.add(line);
}
return lines.toArray(new String[0]);
System.out.println("The modifications are: " + lines);
return lines.toArray(new String[0]);
}
@ -232,8 +232,7 @@ public class Board {
boolean isWhite = Boolean.parseBoolean(parts[3]);
pieces.add(new Piece(x, y, isWhite, type));}
System.out.println("The modifications are: " + pieces);
}
/* The following methods require more work ! */