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.


_______________________________________________
Bug-gnubg mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnubg

Reply via email to