chess-misc
chess-misc copied to clipboard
Java Stockfish Wrapper Issue
With stockfish, when isready is sent, readyok is immediately sent back. Thus for the getOutput() function, if the timing is not completely correct with Thread.sleep(), readyok will interject before all the commands are done processing.
This is especially a problem with the getBestMove() function