bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Command-line bug ?


From: Jonathan Kinsey
Subject: Re: [Bug-gnubg] Command-line bug ?
Date: Wed, 23 Aug 2006 13:58:06 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.5) Gecko/20060719 Thunderbird/1.5.0.5 Mnenhy/0.7.4.0

address@hidden wrote:
[snip]
> On the bug-tracker there's a patch proposed by Michel Delpreli : Jon
> said it didn't solve the problem, but if you understand the intended
> modification maybe you can get a clue at what's happening ...

I've just retried the patch and it still fails for me, here's the
command file I ran and the output I got (entering "2 1" as the roll):

------cmd file--------------

set rng man
set player 0 human
set player 1 human
new session
set board GwAAYAMAAAAAAA
roll
hint
rollout =1 =2

------gnubg output----------


GNU Backgammon 0.14-mingwCopyright 1999, 2000, 2001, 2002, 2003, 2004 by
Gary Wo
ng.
GNU Backgammon is free software, covered by the GNU General Public License
version 2, and you are welcome to change it and/or distribute copies of it
under certain conditions.  Type "show copying" to see the conditions.
There is absolutely no warranty for GNU Backgammon.  Type "show
warranty" for
details.
(No game) load com c:/cmds
GNU Backgammon will now use the manual generator.
Moves for gnubg must now be entered manually.
Moves for jon.kinsey must now be entered manually.
A new session has been started.
Enter dice: 2 1
gnubg rolls 2, jon.kinsey rolls 1.
 GNU Backgammon  Position ID: 4HPwATDgc/ABMA
                 Match ID   : MAEFAAAAAAAA
 +12-11-10--9--8--7-------6--5--4--3--2--1-+     O: gnubg
 | X           O    |   | O              X |     0 points
 | X           O    |   | O              X |     Rolled 21
 | X           O    |   | O                |
 | X                |   | O                |
 | X                |   | O                |
^|                  |BAR|                  |     (Cube: 1)
 | O                |   | X                |
 | O                |   | X                |
 | O           X    |   | X                |
 | O           X    |   | X              O |
 | O           X    |   | X              O |     0 points
 +13-14-15-16-17-18------19-20-21-22-23-24-+     X: jon.kinsey

 GNU Backgammon  Position ID: 4HPwATDgc/ABMA
                 Match ID   : MAEFAAAAAAAA
 +12-11-10--9--8--7-------6--5--4--3--2--1-+     O: gnubg
 | X           O    |   | O              X |     0 points
 | X           O    |   | O              X |     Rolled 21
 | X           O    |   | O                |
 | X                |   | O                |
 | X                |   | O                |
^|                  |BAR|                  |     (Cube: 1)
 | O                |   | X                |
 | O                |   | X                |
 | O           X    |   | X                |
 | O           X    |   | X              O |
 | O           X    |   | X              O |     0 points
 +13-14-15-16-17-18------19-20-21-22-23-24-+     X: jon.kinsey

 GNU Backgammon  Position ID: GwAAYAMAAAAAAA
                 Match ID   : MAEFAAAAAAAA
 +12-11-10--9--8--7-------6--5--4--3--2--1-+     O: gnubg
 |                  |   |             O  O | OOO 0 points
 |                  |   |             O  O | OO  Rolled 21
 |                  |   |                  | OO
 |                  |   |                  | OO
 |                  |   |                  | OO
^|                  |BAR|                  |     (Cube: 1)
 |                  |   |                  | XX
 |                  |   |                  | XX
 |                  |   |                  | XX
 |                  |   |             X  X | XX
 |                  |   |             X  X | XXX 0 points
 +13-14-15-16-17-18------19-20-21-22-23-24-+     X: jon.kinsey

You have already rolled the dice.
    1. Cubeful 0-ply    2/off 1/off                  Eq.:  +0.722
       0.861 0.000 0.000 - 0.139 0.000 0.000
        0-ply cubeful [expert]
    2. Cubeful 0-ply    2/1 2/off                    Eq.:  -1.000 ( -1.722)
       0.144 0.000 0.000 - 0.856 0.000 0.000
        0-ply cubeful [expert]

    1. Rollout          2/off 1/off                  Eq.:  +0.722
       0.861 0.000 0.000 - 0.139 0.000 0.000 CL  +0.722
      [0.000 0.000 0.000 - 0.000 0.000 0.000 CL   0.000]
        Truncated cubeless rollout (depth 11) (trunc. at one-sided
bearoff) with
 var.redn.
        1296 games, Mersenne Twister dice gen. with seed 1036392353 and
quasi-ra
ndom dice
        Play: 0-ply cubeful
        Cube: 0-ply cubeful
    2. Rollout          2/1 2/off                    Eq.:  -0.713 ( -1.435)
       0.144 0.000 0.000 - 0.856 0.000 0.000 CL  -0.713
      [0.000 0.000 0.000 - 0.000 0.000 0.000 CL   0.000]
        Truncated cubeless rollout (depth 11) (trunc. at one-sided
bearoff) with
 var.redn.
        1296 games, Mersenne Twister dice gen. with seed 1036392353 and
quasi-ra
ndom dice
        Play: 0-ply cubeful
        Cube: 0-ply cubeful

--------------------------------

The rollout still says -0.713 for move #2.

Jon

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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