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: Rod Roark
Subject: Re: [Bug-gnubg] Re: Showing Moves
Date: Tue, 20 May 2003 20:07:58 -0700
User-agent: KMail/1.4.3

Here's a bit more info.

First, it seems I was wrong about the inconsistency.  GnuBG 
(using the external controller) consistently plays as if it
were its opponent.  I was able to work around this by
reversing the players before passing it the board.

Second, a new problem.  It's dropping all doubles!  Do you
have any idea why?

BTW I'm testing this with the 030511 snapshot.  I can set it
up for you to play with if you like.

-- Rod

On Tuesday 20 May 2003 03:36 pm, Rod Roark wrote:
> I think I'm seeing a couple of bugs in the external controller
> logic.  Below is output from my testing log.
>
> The main problem is that in this case GnuBG seems to think
> it has the opponent's checkers.  The board state clearly
> says the player's "color" is -1.  This is NOT consistent; in
> earlier testing things went fine.
>
> ------------------------------------------------------------
> To GnuBG: external localhost:9999
> ...
> From FIBS: rodr wants to resume a saved match with you.
> To FIBS: join rodr
> From FIBS: Type 'join rodr' to accept.
> From FIBS: You are now playing with rodr. Your running match was loaded.
> To FIBS: board
> From FIBS: turn: ParlorBot.
> From FIBS: unlimited matchlength
> From FIBS: points for ParlorBot: 5
> From FIBS: points for rodr: 3
> From FIBS: 
> board:You:rodr:9999:5:3:0:-1:0:-1:2:0:4:0:2:0:0:0:-4:5:0:0:0:-4:0:-5:0:0:0:0:2:0:-1:6:6:0:0:1:1:1:0:-1:1:25:0:0:0:0:0:4:5:0:0
> To Ext: 
> board:You:rodr:99:0:0:0:-1:0:-1:2:0:4:0:2:0:0:0:-4:5:0:0:0:-4:0:-5:0:0:0:0:2:0:-1:6:6:0:0:1:1:1:0:-1:1:25:0:0:0:0:0:4:5:0:0
> From Ext: 24/18 24/18 13/7 13/7
> To FIBS: move 1-7 1-7 12-18 12-18
> From FIBS: ** You can't move from 1 in your second move.
> ------------------------------------------------------------
>
> Note that I translate the move direction, as GnuBG always
> reports moves as if its home is 0.
>
> One additional (minor) problem: GnuBG segfaults if you have
> 9999 as the match length (FIBS uses that for an unlimited
> match).
>
> -- Rod





reply via email to

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