bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] fibs board deadlock


From: Jim Segrave
Subject: Re: [Bug-gnubg] fibs board deadlock
Date: Sun, 7 Sep 2003 15:19:12 +0200
User-agent: Mutt/1.4.1i

On Sun 07 Sep 2003 (08:27 +0000), Joern Thyssen wrote:
> Hi all,
> 
> I've reached a deadlock trying to get the GUI and the external player
> option working together. Both parts work using the FIBS board style.
> 
> I have two problems:
> 
> (a) the FIBS board does not contain enough information to
>     detect beavers/raccoons
> (b) the FIBS board does not contain any information about resignations
> 
> I guess Gary tried to fix problem (a) by extending the "doubled" field
> so the sign of the field is indicating who doubled.
> 
> Later on Rod Roark tried to fix problem (b) by extending the "doubled"
> field so negative values represent resignations.
> 
> Of course, the two solutions are incompatible.
> 
> So far I've decided to put back Gary's original code, so we can handle
> beavers/raccoons correctly in the gui (see Ric Gerace's mail from
> yesterday). However, this breaks resignations.
> 
> Does anyone have an idea on how to handle resignations in the external
> player?

This is about as ugly a hack as I can think of:

Add some large value to the cube say 0x8000 or something to indicate a
resignation? It would certainly be detectable.

I'm embarrassed to suggest this, but it might be a simple way out.


-- 
Jim Segrave           address@hidden





reply via email to

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