Hey guys, I have been working on this client for a board game called Go (or Baduk, or Weiqi) and I decided it's finally time to get a bot in there to play against it. There is a fairly strong bot called pachi (https://pachi.or.cz/
) which has a linux binary that worked for me which is great.
Apparently these bots use a protocol called GTP (Go Text Protocol) which I found information on it at http://www.lysator.liu.se/~gunnar/gtp/gtp2-spec-draft2/gtp2-spec.html
So my question is, how can I run the executable from my app so that I can issue commands to it and retrieve it's output?
Note: The client I'm working on is written in C. Pachi (the bot) is a binary which waits for commands and outputs a bunch of information after each command issued by the user input.