[Top][All Lists]

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

Re: [Bug-gnubg] Support for XG ids

From: Philippe Michel
Subject: Re: [Bug-gnubg] Support for XG ids
Date: Sat, 26 Jun 2010 22:42:05 +0200 (CEST)
User-agent: Alpine 2.00 (BSF 1167 2008-08-23)

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
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
(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]