Closed utterances-bot closed 2 years ago
When I'm trying to use the client.start("stockfish") command, it just gives me an error saying that it cannot run the program "stockfish" as there is no such file or directory. I have stockfish installed in my command line and I can use it inside the terminal. I am using a Macbook M1 Pro if that helps.
Thanks
Another thing to add is when I type in client.start("test"); instead of client.start("stockfish"); it gives me no error but does not display anything.
@WillGoldthwaite you need to have stockfish in the path. Otherwise you will need to give it the full path to the executable.
The UCI protocol doesn't show a "go bestmove" command but your software uses this command. Is "go bestmove" a valid UCI command?
Writing a Universal Chess Interface (UCI) Client in Java | andreinc
A step-by-step guide on how to implement an UCI client in Java.
https://www.andreinc.net/2021/04/22/writing-a-universal-chess-interface-client-in-java