aboutsummaryrefslogtreecommitdiff
path: root/src/bot.hpp
diff options
context:
space:
mode:
authorAdam <adammegarules1@gmail.com>2026-07-29 19:55:22 +0200
committerAdam <adammegarules1@gmail.com>2026-07-29 19:55:22 +0200
commit4aac933e3c08535501558448ce43ce610b5e317f (patch)
treebfcf207dd7787d70e94017ed45f1af7e32106ade /src/bot.hpp
parent1e57de844a1524b776167ccd7a1e822677d62527 (diff)
adding depth support
Diffstat (limited to 'src/bot.hpp')
-rw-r--r--src/bot.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bot.hpp b/src/bot.hpp
index 26ae9f2..0ca0d05 100644
--- a/src/bot.hpp
+++ b/src/bot.hpp
@@ -3,7 +3,7 @@
#include "board.hpp"
#include <vector>
-Move EngineGetBestMove(Game *b);
+Move EngineGetBestMove(Game *b, int depth);
float EvaluateBoardForWhite(Game *b, int depth);
float minimax(int depth, Game *b, float alpha, float beta);
int ScoreMove(const Game *board, const Move &move);