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
currentones and the desired change specified byright. - Gets en passant hash for the
file. - Gets
piecehash with thecolorfor the square specified bysquare. - Gets active color hash.
- Recalculates board’s hash entirely.
- Recalculates board’s pawn hash entirely.