Add isStalemate() method to ChessEngine

ChessEngine
Justin 2025-06-18 19:35:28 +02:00
parent 3dade8ce84
commit 5a4b3ff63e
1 changed files with 3 additions and 0 deletions

View File

@ -75,4 +75,7 @@ public class ChessEngine {
return board.isMated();
}
public boolean isStalemate() {
return board.isStaleMate();
}
}