diff options
| author | Adam <adammegarules1@gmail.com> | 2026-08-21 18:35:02 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-08-21 18:35:02 +0200 |
| commit | 05035f72d77a18321d39e118ed28858b8c25bdad (patch) | |
| tree | 64b8502b89907bbb0662a30625e762739efd9031 /src/moves.hpp | |
| parent | e4a8a445acd8f966861174ec5d6e2537f060dc1a (diff) | |
refactor(search): making code nicer and little faster
Diffstat (limited to 'src/moves.hpp')
| -rw-r--r-- | src/moves.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<uint16_t> &moves); #endif /* SRC_MOVES_H_ */ |
