Chess - Programming - Polyglot Book Format - Turn

Turn is part of the Key

It is the exclusive or of entries from the RANDOM_TURN sub-array.

NOTE: If White is to move then turn is the sole entry from the RANDOM_TURN sub-array.

  • If it is Black to move, then turn is zero.