aboutsummaryrefslogtreecommitdiff
path: root/src/uci.hpp
blob: ba2a56cb03fb8f72c1a6273f7d0dbf0bdb8e2fdd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef SRC_UCI_H_
#define SRC_UCI_H_

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

uint16_t UciToMove(const std::string &uci);
void Uci();
Game initBoard(
    const std::string &startingFEN,
    std::unordered_map<uint64_t, TranspositionsEntry> *transPositions);
void SaveTranspositionTable(
    const std::unordered_map<uint64_t, TranspositionsEntry> &table);
bool LoadTable(
    const std::string &filename,
    std::unordered_map<uint64_t, TranspositionsEntry> *transpositions);
#endif /* SRC_UCI_H_ */