Merge branch 'master' of

https://gitarero.ecam.fr/louise.berteloot/OOP_2A5_Project
This commit is contained in:
clara 2025-05-07 15:44:48 +02:00
parent 8091c480a0
commit 5e1cb10a48
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);
}
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 ! */