Constants§
Functions§
- Generates a constant array of castling hashes.
- Generates a constant array of en passant hashes.
- Generates a constant array of piece hashes.
- Generates a constant array of side to move hashes.
- Gets castling right hash based on the
current
ones and the desired change specified byright
. - Gets en passant hash for the
file
. - Gets
piece
hash with thecolor
for the square specified bysquare
. - Gets active color hash.
- Recalculates board’s hash entirely.
- Recalculates board’s pawn hash entirely.