aboutsummaryrefslogtreecommitdiff
path: root/src/board.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/board.hpp')
-rw-r--r--src/board.hpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/board.hpp b/src/board.hpp
index 687510e..4f04783 100644
--- a/src/board.hpp
+++ b/src/board.hpp
@@ -35,7 +35,10 @@ struct Position {
bool operator==(const Position &) const = default;
};
-
+struct TranspositionsEntry {
+ int depth;
+ float Eval;
+};
struct Game {
Piece pieces[64];
bool turn = 1; // 1 white; 0 black
@@ -46,7 +49,7 @@ struct Game {
bool canEnpassant = 0;
GameState state = TURN;
std::unordered_map<uint64_t, int> ThreeFoldMap;
- std::unordered_map<uint64_t, float> *Transpositions = nullptr;
+ std::unordered_map<uint64_t, TranspositionsEntry> *Transpositions = nullptr;
};
struct Move {