Chess-Challenge icon indicating copy to clipboard operation
Chess-Challenge copied to clipboard

Comparing states

Open michaelbzms opened this issue 2 years ago • 1 comments

Can we use the ZorbistKey to compare if two states are equal or is it possible that there will be collisions and two different states could have the same key?

michaelbzms avatar Aug 06 '23 13:08 michaelbzms

Collisions are rare, but they certainly do exist. For practical purposes though, comparing zobrist keys is totally ok.

SebLague avatar Aug 06 '23 13:08 SebLague