We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello,
I have a chess gui and want it to use the chess engine fruit (eg.).
How can I communicate with the engine after launch? I can start it with open but after each move I have to send data with uci
Thanks!
Chrisir
Answers
http://www.fruitchess.com
http://www.shredderchess.de/schach-info/features/uci-universal-chess-interface.html
I don't need to know how to make the uci itself but rather the way how to communicate to fruit, is it via println or... what is the equivalent to stdOut?
anyone?
Does Fruit have any API documents? Without them I can't see how to interface with it.
how can I build a pipe?
Taking up smoking eh :D
No idea how to create a pipe in this situation but you would need Fruit to accept one end of it.
something like this pipe:
http://stackoverflow.com/questions/5724646/how-to-pipe-input-to-java-program-with-bash
almost there....
so the solution was to use ProcessBuilder
see Bird's comment here:
https://forum.processing.org/two/discussion/comment/73515/#Comment_73515