On googling, it seems that the protocol used is "Universal Chess Interface"
(UCI). http://en.wikipedia.org/wiki/Universal_Chess_Interface
At first sight, this UCI is quite crappy, apparently chessoholics spend most of
their energy in chess rather that programming. :)
Oleg Kobchenko wrote:
I suspect that the chess game uses interactive
stdin/stdout conversation, as opposed to single
in/out exchange that all the task operations are
constructed for.
If that's the case, a diffent implementation
is needed, possibly a stateful object with
methods like read, write, peek, wait, etc.
There are different strategies: sync vs async
IO, overlapped IO etc.
Is there a sample of a small complete session
with the chess programm written in C or Perl, etc?
Preferably reproducible in a simple way.
--
regards,
bill
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm