Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Help with EGTB's pleaseeeeeeeeee - Correction

Author: Robin Smith

Date: 10:33:17 10/28/01

Go up one level in this thread


On October 28, 2001 at 10:55:27, José Carlos wrote:

>On October 28, 2001 at 06:53:06, José Carlos wrote:
>
>>  I managed to make EGTB's work properly except in positions with pawn/s. I
>>checked the tablebases by making crafty think in some positions; it worked
>>perfectly. For example, in the following position it returns draw:
>>
>>[D]8/7k/5K2/8/2B5/8/7P/8 b - - 0 31
>>
>>  Now, my program says black is checkmated!
>>  I tested lots of positions without pawns, and worked fine, so I guess I have a
>>bug somewhere related to pawns, but tracing the program I can't see anything
>>strange.
>>  Can anyone please try this position and trace it?
>>  My numbers:
>>    IDescFindFromCounters (rgiCounters) returns 24
>>    PfnIndCalc(iTb,side) (psqW,psqB,sqEnP,fInvert) returns 1557728
>>    L_TbtProbeTable (iTb,side,ind) returns 32766 (the checkmate!!)
>>
>>  Do you guys get the same numbers? Anyone got a clue what I'm doing wrong?
>>Should I post some code so you can check?
>>
>>  Thanks in advance,
>>
>>  José C.
>
>  As I started the amalisys, the given data is for the position after ...Kh6
>
>  José C.

Hi Jose,

The position before Kh6 is drawn.  The position after Kh6 white wins.

For example:

1... Kh6?? 2. Bd3 Kh5 3. h3 Kh4 4. Bf5 Kh5 5. Kg7 Kg5 6. Bg4 Kh4 7. Kh6 Kg3 8.
Kg5

Analyzed without TB's, so there may be a faster win, but you get the idea.

Robin



This page took 0.01 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.