notnil / chess

chess package for go
MIT License
508 stars 126 forks source link

Loading UCI engine does not appear to function #117

Closed rlhuggins762 closed 1 year ago

rlhuggins762 commented 1 year ago

EDIT: I got it to work by specifying the absolute path. I did not specify the path before and assumed it was using the working directory and did not need the absolute path. I should have troubleshot a bit more before posting this as an issue. My mistake. Thank you for your work on this package.

Hello, when using the same code for loading a UCI engine, I receive the following error: "panic: uci: executable not found at path stockfish.exe exec: "stockfish": cannot run executable found relative to current directory"

What I tried to do to get it to run was download the latest version of stockfish, renamed it to just "stockfish" and placed it in working directory of the module I am creating. I have tried using other UCI compliant engines with the same result. I am new to programming in/using Go so it is possible I am missing something obvious. Other features I have used of the package function properly (and are great). Please let me know if you can recreate the issue or if there is something I can help with.