Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: 3fold repetition, ep squares and EGTBs

Author: Dieter Buerssner

Date: 16:29:25 08/03/01

Go up one level in this thread


On August 03, 2001 at 19:08:33, Vincent Diepeveen wrote:

>So you can claim the draw.

Thanks for confirming.

>>I assume yes. If this is correct: Are you handling this correctly in your
>>chess-engine?
>
>No i am not.
>
>I would be amazed if anyone is, because what you need would
>be only hashing en passant if en passant is legal in that position.
>
>That's requiring quite a bit of system time extra.

Sure, it will need time, when this is done in the search/Makemove etc. Just in
or close to some inner loop. However, the idea Miguel suggested in the other
answer should work well, and make the chess engine obey the rules. And it will
cost almost no time at all.

>>And a related question about Nalimov EGTBs. I have learned, that setting the ep
>>square for the TB-probing in positions, where no ep capture is possible, returns
>>invalid results. I recognized this in KNPKN. I earlier just set the ep-square
>>after any double pawn push. This had now influence on the search/move-generation
>>logic of my program. But probing of the TB with the ep-square set yielded wrong
>>results. I fixed this.

>I bet for game relevant positions it didn't change a bit though.

Yes, it did. A move, that was drawing was returning a mate score from TBs,
because the ep-square was set (only one pawn on the board, which just made a
double step). This cost 1/2 point. Garbor, who was doing this tournament
observered very carefully, He sent me the game. BTW. This was really tricky to
find.

Regards,
Dieter



This page took 0 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.