diff options
| author | Adam <adammegarules1@gmail.com> | 2026-07-28 09:07:25 +0200 |
|---|---|---|
| committer | Adam <adammegarules1@gmail.com> | 2026-07-28 09:07:25 +0200 |
| commit | bb42f7d438c088b18e953e38cb07d0cdf25f749a (patch) | |
| tree | db358c35d178ea3f29e1f8ee5c399009bdb3bae0 /src/bot.cpp | |
| parent | ab198bd13a44344989c34ee1fda1e56fa00cbe1f (diff) | |
removing the logging from uci
Diffstat (limited to 'src/bot.cpp')
| -rw-r--r-- | src/bot.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/bot.cpp b/src/bot.cpp index d0730d8..8b9273e 100644 --- a/src/bot.cpp +++ b/src/bot.cpp @@ -4,7 +4,6 @@ #include <algorithm> #include <cassert> #include <cmath> -#include <iostream> int PAWN_VALUE = 100; int KNIGHT_VALUE = 200; @@ -15,8 +14,6 @@ int MATE = 10000; const int SEARCH_DEPTH = 3; -int positions_consider = 0; - Move EngineGetBestMove(Game *b) { auto moves = GetLegalMoves(b); if (moves.size() == 0) { @@ -43,7 +40,6 @@ Move EngineGetBestMove(Game *b) { } } } - std::cout << "\nConsider: " << positions_consider << "\n"; return bestMove; } float minimax(int depth, Game *b, float alpha, float beta) { @@ -93,7 +89,6 @@ float minimax(int depth, Game *b, float alpha, float beta) { } float EvaluateBoardForWhite(Game *b) { - positions_consider++; float score = 0; bool isStaleMate = false; |
