divy-07 / chess-engine

Implementing a basic Java chess engine
Apache License 2.0
1 stars 0 forks source link

Stopping search when checkmate is reached #30

Open divy-07 opened 1 year ago

divy-07 commented 1 year ago

Currently, the search continues on even when checkmate is reached. This results in possibleMoves returning 0 moves and thus the bestMove returned is null.