[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [computer-go] GTP and Tourney in SmartGo 1.4
On Fri, 12 Mar 2004, David Fotland wrote:
>
> GMP interfaces at the serial port, which is a hardware thing, not an OS
> thing. GTP
> seems to want pipes, which is an OS thing, and makes it difficult for
> windows programmers.
I think that you have a point here. What we, the GTP proponents, should
do is to provide sample code that lets GTP work over channels that are
easy to implement on several different platforms.
These platforms should obviously include Linux/Unix, Windows and MacOS.
Suitable channels would be pipes (Unix) and TCP/IP sockets (all operating
systems) and why not a serial cable (all operating systems). I am aware
that a serial cable is not necessarily error free, but then we should find
a way to work around that.
In addition to this, an equivalent to the twogtp scripts that control a
GTP match over pipes but instead works using TCP/IP should be created and
ported to both Unix and Windows.
> Prior tournaments generally were agnostic about the computer and OS, since
> the only
> requirement was a serial port, or having the author type in moves.
>
> I worry that a GMP tournament would require Linux and run both programs on
> the same
> machine, connected by GTP over pipes. I think that would be a step back :)
It would indeed, but I don't think there is any risk of that.
-Inge
Inge Wallin | Thus spake the master programmer: |
| "After three days without programming, |
inge@xxxxxxxxxxxxxxxxx | life becomes meaningless." |
| Geoffrey James: The Tao of Programming. |
_______________________________________________
computer-go mailing list
computer-go@xxxxxxxxxxxxxxxxx
http://computer-go.org/mailman/listinfo/computer-go