|
|
@ -47,3 +47,9 @@ that will help you send data to, and receive data from the GUI. |
|
|
|
|
|
|
|
|
|
|
|
Your engine will first need to wait on STDIN for a command `uci` from the GUI. This indicates that your engine should |
|
|
|
Your engine will first need to wait on STDIN for a command `uci` from the GUI. This indicates that your engine should |
|
|
|
switch to UCI mode. You can use `commands::UCI` to make sure the command text you are waiting for is correct. |
|
|
|
switch to UCI mode. You can use `commands::UCI` to make sure the command text you are waiting for is correct. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Next, you'll need to create a copy of `Engine` by calling `Engine::new`. Once this is setup, you can call |
|
|
|
|
|
|
|
`Engine::identify` to send identification information to the GUI. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|