aboutsummaryrefslogtreecommitdiff
path: root/src/hash.hpp
blob: f56b4d2e1a869f946d1e833bb2cd6ced054b1c5f (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 toogleSideKey(Game *g);
void xorEnpassantKey(Game *g);
void xorSquare(uint8_t square, Game *g);

#endif /* SRC_HASH_H_ */