[Top][All Lists]

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

Re: [Bug-gnubg] Support for XG ids

From: Christian Anthon
Subject: Re: [Bug-gnubg] Support for XG ids
Date: Mon, 28 Jun 2010 10:42:00 +0200

Should be ok now.

the match state struct is designed to hold a jacoby flag, but since it
is not in the matchid I'm not sure that it works correctly. We stick
to the default, running the risk that somebody change their default
jacoby flag.


On Sat, Jun 26, 2010 at 10:42 PM, Philippe Michel
<address@hidden> wrote:
> On Fri, 25 Jun 2010, Christian Anthon wrote:
>> I've added support for pasting XG ids in GNU backgammon. I didn't have
>> too many test cases, so please test the code and report back any
>> problems. Beavers are not supported.
> There seems to be a problem regarding the Jacoby rule. Using the xgid from
> http://www.bgonline.org/forums/webbbs_config.pl?noframes;read=71394
> which is a money session with Jacoby :
> (No game) show jacoby
> This money session is play with the Jacoby rule. Default is:
> Money sessions are played with the Jacoby rule.
> (No game) set xgid XGID=-b----E-C---eE---b-d-b--B-:0:0:1:46:0:0:3:0:10
> ...
> Setting GNUBG id mGfwATDgc/ABMA:cAkaAAAAAAAA
> (Black) show jacoby
> This money session is play without the Jacoby rule. Default is:
> Money sessions are played without the Jacoby rule.
> The setting for Jacoby is wrong, but there may be a deeper problem. My
> understanding was that the status of the Jacoby rule is not included in
> gnubg's matchid. That would imply you would have to either set the
> instance's default or not import the setting. Either choice being
> potentially treacherous.
> On the other hand, the output : "This money session ... Default is ..."
> somehow suggests there could be some way to set jacoby for the current
> session without changing the default.
> Maybe the Crawford bit from the matchid could be used for Jacoby if the
> match length is zero, but that probably would have implications elsewhere in
> the code.
> Another minor glitch ; there is something like "nCube 1 fCubeOwner -1"
> displayed ; probably a debugging print left over.

reply via email to

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