Actualiser OOP_2B1_Project/src/backend/Board.java

This commit is contained in:
Romain MURPHY 2025-05-06 09:07:51 +02:00
parent 0963247ff2
commit ca505147b8
1 changed files with 2 additions and 2 deletions

View File

@ -239,8 +239,8 @@ public class Board {
}
public boolean isCheck(int x, int y) {
if (board.get(y).get(x).getType() == PieceType.king){
if (board.get(y).get(x).getType() == PieceType.King && board.get(y).get(x).isWhite == turnColor){
if (kingCheck.)
}
}
/* saving-loading feature :*/