Discussion:
GTP Java client framework
Piotr Kaminski
2003-03-05 06:33:25 UTC
Permalink
A sufficient number of people (read: more than 2) expressed interest, so I
cleaned up the Vegos web page and made it public:

http://www.ideanest.com/vegos/

Full source code for Vegos (my pet AI project) is available there, but I
didn't clean *that* up. There's a few words on the web page about where to
look for the GTP client code, and I think it's fairly straightforward. You
will still have to read the protocol spec, since the client framework uses
reflection and doesn't tell you which methods you need to implement. On the
other hand, this means the framework should be forward compatible with any
future revisions of GTP.

I didn't include a license with the code, but you can assume it's all under
the zlib/libpng open source license, available here:

http://www.opensource.org/licenses/zlib-license.php

I'm no longer actively developing this code, but I can answer questions
about it and feedback might rekindle my interest! :-)

-- P.

--
Piotr Kaminski (***@ideanest.com)
It's the heart afraid of breaking that never learns to dance.
Peter Drake
2003-03-05 16:58:22 UTC
Permalink
Post by Piotr Kaminski
A sufficient number of people (read: more than 2) expressed interest, so I
http://www.ideanest.com/vegos/
Full source code for Vegos (my pet AI project) is available there, but I
didn't clean *that* up. There's a few words on the web page about where to
look for the GTP client code, and I think it's fairly straightforward.
You
Um ... I gotta say it's not entirely obvious what to do with this.

Can we talk you into showing us how to write a trivial AI (i.e., a
random player which does not even keep track of the board state) that
works with this?

Peter Drake
Assistant Professor of Computer Science
Lewis & Clark College
http://www.lclark.edu/~drake/
Piotr Kaminski
2003-03-05 21:44:43 UTC
Permalink
Post by Peter Drake
Can we talk you into showing us how to write a trivial AI (i.e., a
random player which does not even keep track of the board state) that
works with this?
OK. Over lunch, I cleaned up the packaging a little and wrote a trivial GTP
random player. Grab the new source code, and look at
com.ideanest.vegos.RandomGTPEngine. It doesn't get more trivial than that.
:-)

-- P.

--
Piotr Kaminski (***@ideanest.com)
It's the heart afraid of breaking that never learns to dance.
Peter Drake
2003-03-05 23:28:24 UTC
Permalink
I might be able to out-trivialize you:


I've got a tiny random player partially working. (It never passes and
I have several more commands to implement, but at least you can start a
game.)

Get gGo here:

http://igs.joyjoy.net/java/gGo/

(The "Java Web Start" version is easiest to install.)

Put the attached files in the directory from which you plan to launch
gGo, and compile the Java files.

chmod a+x orego

Now start gGo, and under preferences give the path to orego as the path
to GNU Go.

Click on "Play GNU Go", and viola!

I think that, once it's finished, GTPPlayer will be an excellent
interface for programs to implement. We may want to build an abstract
or even concrete class to provide standard functionality, but this is
the route of minimum commitment and maximum flexibility.
Daniel Bump
2003-03-05 14:15:02 UTC
Permalink
Post by Piotr Kaminski
I didn't include a license with the code, but you can assume it's all under
http://www.opensource.org/licenses/zlib-license.php
I'm no longer actively developing this code, but I can answer questions
about it and feedback might rekindle my interest! :-)
You should include the license and your copyright (even if
you don't want to maintain it any more) with the code. Otherwise
you are releasing it without a license, and your statement ``you
can assume it's under the zlib license'' is false.

Dan
M. Hori
2003-03-06 12:20:41 UTC
Permalink
????
Email: ***@mxb.mesh.ne.jp
Tel & Fax: 044-541-6062
PHS: 070-5583-9549
----- Original Message -----
??? : "M. Hori" <***@mxb.mesh.ne.jp>
?? : <***@mxb.mesh.ne.jp>
???? : 2003?3?6? 21:16
?? : Fw: computer-go: Re: GTP Java client framework
????
Tel & Fax: 044-541-6062
PHS: 070-5583-9549
----- Original Message -----
???? : 2003?3?6? 6:44
?? : RE: computer-go: Re: GTP Java client framework
Post by Piotr Kaminski
Post by Peter Drake
Can we talk you into showing us how to write a trivial AI (i.e., a
random player which does not even keep track of the board state)
that
Post by Piotr Kaminski
Post by Peter Drake
works with this?
OK. Over lunch, I cleaned up the packaging a little and wrote a
trivial GTP
Post by Piotr Kaminski
random player. Grab the new source code, and look at
com.ideanest.vegos.RandomGTPEngine. It doesn't get more trivial
than
that.
Post by Piotr Kaminski
:-)
-- P.
--
It's the heart afraid of breaking that never learns to dance.
Loading...