10 int piece = board->
pieces[sq];
U64 generatePositionKeys(const S_BOARD *board)
Generates a Zobrist hash key for the given board position.
U64 zobristSideKey
Zobrist hashing key for side to move.
int rankIndex120[BRD_SQ_NUM]
U64 zobristCastleKeys[16]
Zobrist hashing keys for castling rights.
U64 zobristPieceKeys[13][120]
Zobrist hashing keys for each piece on each square.
int SqOnBoard(const int sq)
Checks if a given square index refers to a valid on-board square.