Introducing the *.EBF project

Discussion of chess software programming and technical issues.

Moderators: hgm, Rebel, chrisw

Florentino
Posts: 43
Joined: Tue Mar 25, 2014 10:34 pm

Re: Introducing the *.EBF project

Post by Florentino »

I just had a look at the EBF probing code, which I downloaded from http://rebel13.nl/misc/ebf/index.html. If I understand it right the positions are stored with a 64 bit hash key, but without taking en-passant possibilities and castling rights into account. Isn't this a problem or do I miss something (a move starting a sacrificial attack in the centre might have a good score, because the engine analysed a position where there was no more castling possible, but if you are looking at the same position with castling rights the move might simply lose).
Of course the situations where you have this ambiguity are rare, but why not add castling rights and e.p. square to the hash key (like in polyglot)?
User avatar
Rebel
Posts: 6991
Joined: Thu Aug 18, 2011 12:04 pm

Re: Introducing the *.EBF project

Post by Rebel »

I am aware of the glitch, need to fix it. Thanks for the reminder.