Actualiser OOP_2B1_Project/src/backend/Board.java

This commit is contained in:
Romain MURPHY 2025-05-06 09:05:40 +02:00
parent e4fa6c370f
commit 0963247ff2
1 changed files with 5 additions and 0 deletions

View File

@ -238,6 +238,11 @@ public class Board {
return S;
}
public boolean isCheck(int x, int y) {
if (board.get(y).get(x).getType() == PieceType.king){
}
}
/* saving-loading feature :*/
public String[] toFileRep() {