diff options
| -rw-r--r-- | README.md | 1 | ||||
| -rw-r--r-- | src/bot.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -14,6 +14,7 @@ ```bash cmake -B build -S . # Run only on cmake config changes (and first time) + # Or for development cmake -B build -S . -DCMAKE_BUILD_TYPE=Debug diff --git a/src/bot.cpp b/src/bot.cpp index f114f36..5a4601e 100644 --- a/src/bot.cpp +++ b/src/bot.cpp @@ -158,7 +158,7 @@ float minimax(int depth, Game *b, float alpha, float beta) { alpha = std::max(alpha, bestEval); if (alpha >= beta) { - break; + break; // *snips* } } } else { |
