Author: Dann Corbit
Date: 15:05:53 05/20/05
Go up one level in this thread
On May 20, 2005 at 17:45:55, Kevin K wrote: >What is the reason to use random number for piece square table of hash? You want the xor values to be unique for each new piece or empty square on the board. >If I use sequential number which starts from 1, what will happen? Really bad things. Suppose (for instance) you have values 1, 2, 3 .. as the numbers to xor against hash ^ 1 + hash ^2 hash ^3 Uh-oh. You want every hash value to be like a fingerprint.
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.