From b2dbf812cb9e6da5f69a2b74c24c97d09fa7a684 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 28 Jul 2026 18:56:26 +0200 Subject: sorting legal moves to optimaze alpha-beta pruning --- src/bot.hpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/bot.hpp') 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_ */ -- cgit v1.2.3