From 9ec09d7151ea8fa78d082ab931691a5db2f1be6a Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 29 Jul 2026 08:59:01 +0200 Subject: making cache have depth --- src/uci.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/uci.cpp') diff --git a/src/uci.cpp b/src/uci.cpp index b4e384a..b45df57 100644 --- a/src/uci.cpp +++ b/src/uci.cpp @@ -45,8 +45,9 @@ Move UciToMove(string uci) { return {from, to}; } -Game initBoard(string startingFEN, - std::unordered_map *transPositions) { +Game initBoard( + string startingFEN, + std::unordered_map *transPositions) { Game b{}; b.enPassant = IndexToPosition(0); // default value b.canEnpassant = false; @@ -71,7 +72,7 @@ Game initBoard(string startingFEN, return b; }; void Uci() { - unordered_map transpositions = {}; + unordered_map transpositions = {}; Game game = initBoard("rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1", &transpositions); -- cgit v1.2.3