ml-research / liground

A free, open-source and modern Chess Variant Analysis GUI for the 21st century

Home Page:https://ml-research.github.io/liground.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Remote

arsalanses opened this issue · comments

Hi,
Is there any solution to add remote engine to Liground?
I tried to add by this way showed in picture:
but that doesn't work :(

Linux, Stockfish chess engine as remote service
image

Hello @arsalanses ,
we haven't considered this use case yet, but it seems useful.
Currently, the engine can only be started as a local process on the computer.

// spawn engine process
if (!fs.existsSync(binary)) {
msg.error(`Could not find engine binary "${binary}"`)
return
}
msg.debug('Running:', { binary, cwd })
child = spawn(binary, [], { cwd }).on('error', err => msg.error(err.message))