Add isDraw() method to ChessEngine

ChessEngine
Justin 2025-06-18 19:36:36 +02:00
parent 5a4b3ff63e
commit c7a3c9918f
1 changed files with 5 additions and 0 deletions

View File

@ -78,4 +78,9 @@ public class ChessEngine {
public boolean isStalemate() {
return board.isStaleMate();
}
public boolean isDraw() {
return board.isDraw();
}
}