bug-gnubg
[Top][All Lists]
Advanced

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

[Bug-gnubg] Re: Showing Moves


From: Rod Roark
Subject: [Bug-gnubg] Re: Showing Moves
Date: Mon, 19 May 2003 19:41:42 -0700
User-agent: KMail/1.4.3

Following up my own post, since nobody else seems to care.
:-)

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

-- Rod

On Saturday 17 May 2003 05:11 pm, Rod Roark wrote:
> OK here I am building a robot to play on FIBS.  I'm using
> Perl (on Linux) as the "glue" to make it all work.  It runs
> the unmodified gnubg executable as a process, with pipes to
> its stdin and stdout.
>
> Maybe this is not the "correct" way to do it.  Comment on
> that if you wish, but bear with me for this question:
>
> So far the basics are working, but my current problem is
> that gnubg does not show its moves in a "nice" way.  All it
> does is show the new board position.  Is there a way to have
> it output a line like "gnubg moves 13/7 8/7"?
>
> FIBS, of course, will want to know the moves, not the new
> board position.  Yes I know I can figure them out from the
> previous and current board positions, but do I HAVE to?
>
> Thanks,
>
> -- Rod





reply via email to

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