bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] TMG import bug


From: Joern Thyssen
Subject: Re: [Bug-gnubg] TMG import bug
Date: Sat, 23 Aug 2003 08:37:29 +0000
User-agent: Mutt/1.4.1i

On Fri, Aug 22, 2003 at 09:32:11PM -0300, Albert Silver wrote
> Do not answer. It is the same bug as the other I believe. I sent this
> some 2-3 days ago actually.

I've committed a fix.

The problem was an implicit resignation in the match. The TMG files says
"wins 1 points", but the cube was on 2. gnubg tried to calculated
whether you resigned single, gammon, or backgammon, by calculating 1/2
which unfortunately is 0 with integer calculation. The rest of the logic
in gnubg didn't like a resignation of 0!

Jørn

Attachment: pgp_OnGYxBEhw.pgp
Description: PGP signature


reply via email to

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