Created
April 8, 2018 04:51
-
-
Save JeffML/1d0164099683caf768da50484f9695d2 to your computer and use it in GitHub Desktop.
UCI state example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GUI engine | |
// tell the engine to switch to UCI mode | |
uci | |
// engine identify | |
id name Shredder | |
id author Stefan MK | |
// engine sends the options it can change | |
option name Hash type spin default 1 min 1 max 128 | |
option name NalimovPath type string default | |
option name NalimovCache type spin default 1 min 1 max 32 | |
// the engine has sent all parameters and is ready | |
uciok | |
// now the GUI sets some values in the engine | |
// set hash to 32 MB | |
setoption name Hash value 32 | |
setoption name NalimovCache value 1 | |
setoption name NalimovPath value d:\tb;c\tb | |
// this command and the answer is required here! | |
isready | |
// engine has finished setting up the internal values | |
readyok | |
// now we are ready to go |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment