aboutsummaryrefslogtreecommitdiff
path: root/src/hash.hpp
blob: 6253363410c6d58b69a5ad14683700571770cae0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef SRC_HASH_H_
#define SRC_HASH_H_

#include "board/board.hpp"
#include <cstdint>

void InitHashing();
uint64_t GenerateHashFromScratch(Game *b);
void xorCastleKey(bool color, bool IS_KING_SIDE, Game *g);
void xorSidekey(Game *g);
void xorEnpassantKey(Game *g);
void xorSquare(uint8_t square, Game *g);

#endif /* SRC_HASH_H_ */