[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [computer-go] How to play go with other programe?



I don't  think TCP is a  bad idea, but  I think stdin/stdout is  a lot
simpler even for windows.  I don't see your nightmare with stdin/stdout.

We don't need any additional software to do this.  We can already play
two GTP/stdio programs over the  internet (or any LAN) right now using
any of the GTP autoplayers out there.

You do the connection over a shell that does the TCP stuff.  I used to
do it  all the time  with a remote  chess program that connected  to a
local GUI user interface via stdin/stdout.

For instance,  I can sort a local  file on my computer  using the sort
utility of a computer somewhere else in the world by doing this:

$ cat /usr/dict/words | ssh drd@xxxxxxxxxxxxxxxxx sort -r

You  can connect  a server  program  to 2  different GTP  stdin/stdout
programs the same way.  This isn't very complicated.

I think  rsh and  ssh is available  on any  OS. For a  tournament, the
organizers  could package this  up with  instructions for  everyone to
use.

There are probably other equally simple solutions. 


- Don




> Trying to run a tournament where the only requirements were for programs to
> speak stdin/stdout would be a nightmare.  Either
> a) the tournament provider would have to have hardware & operating systems
> in every conceivable combination to run
> b) it would be up to the engine authors to make sure their programs ran on a
> platform provided by the tournament providers
> c) tournament providers would have to provide adapters that ran on every
> conceivable platform.
> 
> The greatest common denominator of computer systems today is TCP.  That
> should be leveraged.
_______________________________________________
computer-go mailing list
computer-go@xxxxxxxxxxxxxxxxx
http://www.computer-go.org/mailman/listinfo/computer-go/