Add isStalemate() method to ChessEngine
parent
3dade8ce84
commit
5a4b3ff63e
|
@ -75,4 +75,7 @@ public class ChessEngine {
|
|||
return board.isMated();
|
||||
}
|
||||
|
||||
public boolean isStalemate() {
|
||||
return board.isStaleMate();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue