diff options
| author | Adam <adammegarules1@gmail.com> | 2026-07-28 18:56:26 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-07-28 18:56:26 +0200 |
| commit | b2dbf812cb9e6da5f69a2b74c24c97d09fa7a684 (patch) | |
| tree | fb0b7596da687d26e4e0881801005d70c31eb5c5 /src/bot.hpp | |
| parent | daf87292ef5e3bcff63b4afb3dfa7d903b24b63d (diff) | |
sorting legal moves to optimaze alpha-beta pruning
Diffstat (limited to 'src/bot.hpp')
| -rw-r--r-- | src/bot.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bot.hpp b/src/bot.hpp index 0b92292..b95822f 100644 --- a/src/bot.hpp +++ b/src/bot.hpp @@ -5,6 +5,5 @@ Move EngineGetBestMove(Game *b); float EvaluateBoardForWhite(Game *b, int depth); float minimax(int depth, Game *b, float alpha, float beta); -void LogMove(const Move &move); - +int ScoreMove(const Game *board, const Move &move); #endif /* SRC_BOT_H_ */ |
