[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [computer-go] How to play go with other programe?
Don Dailey wrote:
GTP doesn't specify HOW the connection is made. It's just the protocol.
Unix systems are far more flexible about things like this and it's usually
done with stdin/stdout but that is not specified in GTP.
- Don
Of course, GTP is just a protocol. However, it could be very useful
to end of such discussions. Everybody here could
agree with the usual way to connect the programs with the referee
in a tournament. This is a completly abitrary choice, so if there is
no problem in the following suggestion, I suggest to consider it as
the tournament specification. The choice of a TCP/IP connection, was
made because it's very cheap nowadays.
I would suggest something like a standard LAN connection
with RJ45 10baseT, with a 2 meters long, connecting to the server at
the port 456 and adress 10.16.16.16 setting up a TCP/IP connection.
The port and adress ip of server should be parametrized.
If, by accident, the owner of the program is not here
to launch the program, this one should be able to be launched
from a command line interpreter with the folowing line:
goclient -serverport 456 -serveraddress 10.16.16.16
The port and address may be modified in function the specification
of the tournament. This line should be able to be writted exactly in
this terms.
Even the name 'goclient' is part of the specificaiton
If any other configuration is needed (rules, name of the opponent,
starategy, program version), they must be specified in an other way as a
configuration file.
If by accident, the connection is broken, the connection should be able
to restart
by relaunching the program with the same commandline.
In this case, it is the responsability of referee to inform the programm of
the current stage of the game.
Before relaunching the program, the organizer may try to stop it
by typing Control-C, if that don't work, he will try to close the current
window.
If the owner of the program is not here, the organisation can't be
considered
as responsible of problems provocated by launching the program twice.
Xavier
_______________________________________________
computer-go mailing list
computer-go@xxxxxxxxxxxxxxxxx
http://www.computer-go.org/mailman/listinfo/computer-go/