bug-gnubg
[Top][All Lists]
Advanced

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

Re: [Bug-gnubg] Beavers and analysis


From: Jim Segrave
Subject: Re: [Bug-gnubg] Beavers and analysis
Date: Wed, 30 Jul 2003 00:11:22 +0200
User-agent: Mutt/1.2.5.1i

On Tue 29 Jul 2003 (23:28 +0200), Jim Segrave wrote:
> In order to keep track of where we are, I added another element to the
> movedouble struct:
> 
> int nAnimals;
> 
> This will be 0 in the initial double (both money and match play). It
> will be 1 for the beaver double record, 2 for the raccoon, etc. So
> when it's time to evaluate a double, take or drop, we know where to find the
> initial evaluation of the double and we know if we're looking at a
> record for the opponent (nAnimals is odd and it's a double, nAnimals is
> even and it's a take/drop) or for the initial doubler (nAnimal is
> even).
> In all cases, the cube value for a pass is ( 2 << nAnimals ), the cube
> value for a take is 2 * that and the cube value for <animal-naming> is
> 4 * the pass cube value.

That's of course ( 1 << nAnimals ) * the cube value at the time of the
first double. (I knew what I meant, I just expressed it badly)
-- 
Jim Segrave           address@hidden





reply via email to

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