bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Wrong move in external interface


From: Jim Segrave
Subject: Re: [Bug-gnubg] Wrong move in external interface
Date: Tue, 15 Mar 2005 19:03:30 +0100
User-agent: Mutt/1.4.2.1i

On Tue 15 Mar 2005 (10:53 +0100), Joachim Matussek wrote:
> Hello,
> 
> i found a bug at the external interface (i checked this with several Windows 
> versions).
> I have attached a .txt file with all information.
> 
> Thanks for your help,
> 
> Joachim Matussek
> 
> ______________________________________________________________
> Verschicken Sie romantische, coole und witzige Bilder per SMS!
> Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
>     GNU Backgammon  Position ID: DwAAoAkAAAAAAA
>                     Match ID   : 8IloABAAEAAA
>     +24-23-22-21-20-19------18-17-16-15-14-13-+  O: her
> OOO | O                |   |                  |  1 point
>  OO | O                |   |                  |  
>  OO | O                |   |                  |  
>  OO | O                |   |                  |  
>  OO |                  |   |                  |  
>     |                  |BAR|                  |v 3 point match (Cube: 1)
>  XX |                  |   |                  |  
>  XX |                  |   |                  |  
>  XX |                  |   |                  |  
>  XX |    X             |   |                  |  Rolled 12
> XXX | X  X     X       |   |                  |  2 points
>     +-1--2--3--4--5--6-------7--8--9-10-11-12-+  X: you
> 
> 
> I start the interface with "external 127.0.0.1:10000" and connect with telnet 
> to it. 
> Then i send the command
>  
> "board:you:her:3:2:1:0:1:2:0:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:-4:0:1:1:2:0:0:1:1:1:0:1:-1:0:25:11:11:0:0:2:2:0:0".
>  
> 
> The answer is "2/1 2/0" which is a blunder of -0.833. 
> 
> When i start the external interface having renamed the bearoff databases 
> (results in an
> error message for missing bd files) i get the correct answer "1/0 2/0".

I think this is an illegal board command. You have the fDoubled flag set and
the dice rolled. When I try this command I get 

4/3 3/1

Using the command

board:you:her:3:2:1:0:1:2:0:1:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:0:-4:0:1:1:2:0:0:1:0:1:0:1:-1:0:25:11:11:0:0:2:2:0:0

I get 1/0 2/0 

-- 
Jim Segrave           address@hidden





reply via email to

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