chess-misc icon indicating copy to clipboard operation
chess-misc copied to clipboard

Java Stockfish Wrapper Issue

Open Lucien950 opened this issue 2 years ago • 1 comments

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.

Lucien950 avatar Jul 23 '23 06:07 Lucien950

This is especially a problem with the getBestMove() function

Lucien950 avatar Jul 23 '23 06:07 Lucien950