bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Tutor mode


From: Joern Thyssen
Subject: Re: [Bug-gnubg] Tutor mode
Date: Mon, 5 Aug 2002 17:14:02 +0000
User-agent: Mutt/1.2.5.1i

On Mon, Aug 05, 2002 at 05:36:29PM +0100, Ian Shaw wrote

> How about an option to let you get on with playing while GnuBg analyses your
> moves - like the old auto-analyse mode but running as a background task.
> This would allow you to keep playing and review the moves after the game?
> Many moves are very obvious and it is tedious while GnuBg does a 2-ply eval
> on them. (I know, I know!  I should just get a faster PC or use lower
> settings).

Background analysis and pre-processing while the user is deciding his
move has been discussed before. It is *extremely* complicated to 
implement -- it requires a multi-threaded application, which gives many
problems. 

For example, tutor mode will write stuff into the game list. So will
"analyse game". So the program should disable "analyse game" if tutor
mode is running in the background. There are many problems like this.

On linux I just use poor mans background analysis: 

* start gnubg #1 with lowest priority
* start gnubg #2 with normal priority
* play a match in gnubg #2
* save the match
* load the match into gnubg #1
* start match analysis in gnubg #1
* start a new match in gnubg #2
* ...

Since gnubg #2 has highest priority gnubg #1 will be suspended while
gnubg #2 is thinking (gnu moves, tutor mode, hint, etc etc).

I'm not sure whether this is possible on wintendo...

I don't see a multi-threaded (pre-processing or background analysis)
gnubg in the near future.

Jørn

-- 
Joern Thyssen, PhD
Vendsysselgade 3, 3., DK-9000 Aalborg, Denmark
+45 9813 2791 (private) / +45 2077 2689 (mobile) / +45 9633 7036 (work)



reply via email to

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