Checkmate dynamic fixed (finallyyyy)
This commit is contained in:
parent
20edcf124b
commit
6985d18238
|
|
@ -383,6 +383,7 @@ public class Board {
|
||||||
|
|
||||||
if (!simBoard.isKingInCheck(whiteKing)) {
|
if (!simBoard.isKingInCheck(whiteKing)) {
|
||||||
hasEscape = true;
|
hasEscape = true;
|
||||||
|
System.out.println("ESCAPE FOUND: " + piece.getType() + " from (" + piece.getX() + "," + piece.getY() + ") to (" + newX + "," + newY + ")");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue