From 05035f72d77a18321d39e118ed28858b8c25bdad Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 21 Aug 2026 18:35:02 +0200 Subject: refactor(search): making code nicer and little faster --- src/moves.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/moves.hpp') diff --git a/src/moves.hpp b/src/moves.hpp index 47e41c0..0e8174c 100644 --- a/src/moves.hpp +++ b/src/moves.hpp @@ -21,6 +21,6 @@ constexpr Position IndexToPosition(int i) { return {.rank = rank, .file = file}; } bool IsSquareAttacked(const Game &g, Position square, bool byColor); -GameState GetNewGameState(Game *g); +GameState GetboardState(Game *g, const std::vector &moves); #endif /* SRC_MOVES_H_ */ -- cgit v1.2.3