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

Re: [computer-go] GTP and Tourney in SmartGo 1.4



At 07:18 PM 3/14/2004 +0100, Gunnar Farnebäck wrote:
Marco Sheurer wrote:

The natural way to communicate with a Windows program I assume is by
TCP/IP. At least it's my understanding that such connections are not
difficult to set up in that environment. In a tournament setting
TCP/IP would be natural for communication with Unix programs as well
since each program would want to run on their own computer. (Writing a
Unix program which interfaces a TCP/IP connection to an engine talking
GTP on stdin/stdout is trivial in an appropriate scripting language.)

> My impression was that GTP was only for GNU/Unix/Linux, where everything
> is run from the command line.

I'd like to understand how you've got this impression, so it can be
avoided in the future. GTP only specifies how to communicate over an
error-free channel. It does not require any particular channel or way
of starting the programs.

> So why should I implement it?

That depends on how interested you are in communicating with other
programs. For the moment you can get by with GMP and whatever you use
to play on IGS. The only current exception that I know of is that if
you want to play on KGS you can only do that using GTP.
A couple of comments. First, I don't understand why people are comparing
with GMP is an ancient obsolete protocol designed for modem communication that
was adopted for tournaments because it was already implemented, so required no work.
GTP is designed for engine to engine communication and testing.

You say that I might want to implement GTP to communicate with other programs, and you say that
GTP is just a protocol, and says nothing about the communication channel that carries it. But don't
existing programs that implement GTP use pipes? If I implement for example, a TCP/IP version,
I don't think it will talk with Gnugo. That's where I got the impression about pipes.

I'm interested in communicating with other programs for tournament play, so if a tournament requires GTP,
of course I will implement it. From what I've seen, I agree with you that it will be fairly easy. Until
then, there doesn't seem to be any real motivation. GTP is a fine protocol. Please don't assume I
dislike it. I just don;t have time to implement something I might never use :)

Regards,

David


_______________________________________________
computer-go mailing list
computer-go@xxxxxxxxxxxxxxxxx
http://computer-go.org/mailman/listinfo/computer-go