OptionalerrorCallback?: UCIErrorCallbackOptionalinvalidMessageCallback?: UCIInvalidMessageCallbackOptionalisreadyTimeout?: numberOptionalstopTimeout?: numberOptionaluciokTimeout?: numberA mechanism to await finite analysis - resolves only when bestmove is received (or if no analysis running)
Optionaltimeout: numberoptional timeout in ms
ucibestmove if running, otherwise nothing
Send go command. Don't send if already going. defers to infinite search even without an explicit infinite if no depth|nodes|movetime specified
go command params, all optional
Set position and moves. If this position is from a different game than the last position sent to the engine, an ucinewgame should be sent in-between
either fen & startpos has to be present
Sends engine options command
Write stop command, returning best move if running.
if engine's running
Set up the object with parameters, not starting engine process yet.