diff options
| author | Adam <adammegarules1@gmail.com> | 2026-08-08 17:37:52 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-08-08 17:37:52 +0200 |
| commit | f4e219a591d0265e95f173c1da5c9563c9680adc (patch) | |
| tree | cbe46bfbf1165b9a809d3d6a3672b2933b6f1dcf /src/bot.hpp | |
| parent | 9cbe5a0fbd3ca3a10703452d2aaf3a5c3759c704 (diff) | |
adding time management
Diffstat (limited to 'src/bot.hpp')
| -rw-r--r-- | src/bot.hpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/bot.hpp b/src/bot.hpp index c271882..9f97e2c 100644 --- a/src/bot.hpp +++ b/src/bot.hpp @@ -3,6 +3,13 @@ #include "board/board.hpp" -Move GetBestMove(Game *b, int depth); +struct move_options { + int wtime; + int btime; + int wncr; + int bncr; +}; + +Move GetBestMove(Game *b, int depth, move_options options); #endif /* SRC_BOT_H_ */ |
