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

Re: computer-go: Go model protocol in Lisp



On Mon, Jan 20, 2003 at 10:00:20AM +0100, Rene de Visser wrote:
> I am writing a go program in lisp and am at the stage where I wish to 
> autoplay it against other go programs (locally at this stage).
> 
> Does anybody have some lisp go modem protocol code that they are willing to 
> send me?

I am also working on a Go program in Common Lisp (SBCL of course:-),
and I've made it talk GMP, but not the way you're looking for. I did
it by writing my Lisp program to use a command line interface, like
  * (BEST-MOVE *GAME*)
  F7
and then writing a Perl wrapper which executes my Lisp program as a
subprocess, uses the Lisp program's command line interface to decide
where to play, and uses Perl code to handle GMP communication with the
opponent. I'm not sure I'd do it the same same way again, but at the
time I was more comfortable writing termios-level stuff in Perl than
in SBCL, and I was also curious about Perl OO.

If you're interested in my Perl GMP code (either because you want to
do the same Perl wrapper trick, or because it would probably be
straightforward to translate the Perl GMP code to Lisp) send me mail.
 
If you do write or find a native Lisp implementation of GMP, I'd be
interested in seeing it and maybe using it someday, so I'd appreciate
it if you'd either announce it here or send me mail.

-- 
William Harold Newman <william.newman@xxxxxxxxxxxxxxxxx>
"That's our advantage at Microsoft; we set the standards and we can
change them."
 -- Karen Hargrove, Microsoft (quoted in Feb 1993 Unix Review editorial)
PGP key fingerprint 85 CE 1C BA 79 8D 51 8C  B9 25 FB EE E0 C3 E5 7C