You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The uci command isready is supposed to return readyok once the engine has finished initializing.
This was initially trivial, the number of initializations / clearing of memory was not significant.
If we want to make our engine better we need to add some extra checks - Transposition Tables should be initialized, move history should be cleared (possibly force GC?) and all static members need to be initialized.
Return readyok only once everything is done.
Abstract out proper ways to know "are we done initializing" so that future code coming in can easily say "I'm not done yet" instead of rewriting the entire isready logic everytime.
ucinewgame also needs to be revisited - clear everything, make sure this also unsets readyok until it's done
The text was updated successfully, but these errors were encountered:
The uci command
isready
is supposed to returnreadyok
once the engine has finished initializing.This was initially trivial, the number of initializations / clearing of memory was not significant.
If we want to make our engine better we need to add some extra checks - Transposition Tables should be initialized, move history should be cleared (possibly force GC?) and all static members need to be initialized.
Return
readyok
only once everything is done.Abstract out proper ways to know "are we done initializing" so that future code coming in can easily say "I'm not done yet" instead of rewriting the entire
isready
logic everytime.ucinewgame
also needs to be revisited - clear everything, make sure this also unsetsreadyok
until it's doneThe text was updated successfully, but these errors were encountered: