bug-gnubg
[Top][All Lists]
Advanced

[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 07:28:44 +0000
User-agent: Mutt/1.4.1i

On Mon, May 19, 2003 at 07:41:42PM -0700, Rod Roark wrote
> Following up my own post, since nobody else seems to care.
> :-)

Actually, I didn't receive your post... but it is in the archive
http://mail.gnu.org/archive/html/bug-gnubg/2003-05/index.html.

> I did code the necessary logic to deduce moves from board
> positions.  The bot mostly works now, but a related glitch
> showed up when playing a test game.
> 
> The little bugger beat me, but that's not the problem.  The
> problem is that after the winning bearoff, GnuBG not only
> doesn't say what the winning move is, it does not show the
> final board position.  Now I have to manufacture the final
> position, and then invoke the logic to deduce the final
> move, just so FIBS will close out the game.
> 
> So this is just to memorialize the issues I encountered.
> Maybe someday, someone will make the thing a bit more bot-
> friendly.  :-)

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 :-)

There is no code for resignations...

Jørn




reply via email to

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