Computer Chess Club Archives




Subject: Hash Tables - Should one store EP, Castling rights etc?

Author: Steve Maughan

Date: 06:59:38 01/30/99

I have a couple of question regarding hash tables - can anyone help?

1 I see in the Crafty code that the flag for a hash entry can be "value is
worthless".  What is the condition for storing this type of entry?

2 Is it advisable to store the a) the side to move b)Enpassant square c)
castling right in the hash code? ie assign a random value that is XORed for
these conditions.

All help appreciated.

Steve Maughan

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.