[Top][All Lists]

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

Re: [Bug-gnubg] Re: Showing Moves

From: Joern Thyssen
Subject: Re: [Bug-gnubg] Re: Showing Moves
Date: Tue, 20 May 2003 14:18:47 +0000
User-agent: Mutt/1.4.1i

On Tue, May 20, 2003 at 07:06:46AM -0700, Rod Roark wrote
> On Tuesday 20 May 2003 12:28 am, Joern Thyssen wrote:
> > ...
> > Did you look at the external player option. You can make gnubg listen on
> > a socket with the command "external localhost:10000" to listen on port
> > 10000. You just provide a FIBS style board (very convinient when you're
> > writing a bot for FIBS .-)) and gnubg will reply with "roll", "double",
> > "move 8/5 6/5". Perhaps that's what you're looking for :-)
> That certainly sounds promising.  I did see this command in
> the help, but it referred to the argument as a "filename" so
> I did not pursue it.  Guess I'll have to study the code to
> get more info -- what's a good place to look?

"filename" should be socket, i.e., a local socket (a filename) or
a TCP/IP socket (e.g., localhost:10000 or my.machine.com:20000).

Check external.c

> > There is no code for resignations...
> That would be a problem.  Is there a workaround?

Workaround no. 1: reject all resignations
Workaround no. 2: write code in external.c :-) 

> I take it the other gnubg-based (mgnu_*) bots are currently
> created by hacking the code?

mgnu* bots are based on Joseph Heleds fibs2html code which is C++ but
shares the engine (the neural net) with gnubg. As far as I know the
doubling algorithm are slightly different from gnubg so they play
slightly different than gnubg itself. Joseph has also experimented with
other stuff that's currently not in gnubg.

The gnu 1pt bot is Gary's. It uses some homebrewed C-code that calls the
relevant routines from eval.c directly. 

A few years back I ran a bot named mpgnu. It was based on Gary's code.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]