From 8df9e390a71eeb2835eab06ec4b474c8cad63ecd Mon Sep 17 00:00:00 2001 From: Adam Date: Thu, 30 Jul 2026 16:40:17 +0200 Subject: improving bot --- src/bot.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/bot.hpp') diff --git a/src/bot.hpp b/src/bot.hpp index 382c9be..0796299 100644 --- a/src/bot.hpp +++ b/src/bot.hpp @@ -4,8 +4,10 @@ #include "board/board.hpp" #include Move EngineGetBestMove(Game *b, int depth); -float EvaluateBoardForWhite(Game *b); -float minimax(int depth, Game *b, float alpha, float beta); + +int EvaluateBoardForWhite(Game *b); + +int minimax(int depth, Game *b, float alpha, float beta); int ScoreMove(const Game *board, const Move &move); std::vector GetSortedLegalMoves(Game *g); #endif /* SRC_BOT_H_ */ -- cgit v1.2.3