bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Suggestions for GNUbg


From: Jim Segrave
Subject: Re: [Bug-gnubg] Suggestions for GNUbg
Date: Mon, 7 Oct 2002 13:14:28 +0200
User-agent: Mutt/1.4i

On Mon 07 Oct 2002 (09:26 +0000), Joern Thyssen wrote:
> On Mon, Oct 07, 2002 at 10:50:36AM +0200, Jim Segrave wrote
> [snip]
> > It would be possible (but definitely not easy) to start a Tutor mode
> > cube evaluation after gnubg plays (and any synchronous sound) while
> > waiting for the player to make a double/roll decision. If they decide
> > before the cube analysis is done, then you simply discard the work,
> 
> Yes, but it still requires you to start a thread with the analysis and
> terminate that thread if the user continues before it's finished. 
> 
> Also, we should make sure that the user doesn't do anything in the
> interactive thread that interferes with the background analysis, i.e.,
> all evaluation subroutines must be made thread-safe and we should
> terminate the background analysis if the user does "analyse match" and
> possibly also on "hint". 

You are right. I was thinking that if we restricted things so that
only the dice 'hot-spot', roll button and cube were active on the
board and that the board has the grab, then you *could* arrange that
starting a turn by rolling/doubling would terminate the cube analysis
and discard it, but that no other command would be available. But I
think that would require major invasive surgery for little gain.


-- 
Jim Segrave           address@hidden




reply via email to

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