From 828b5a414a58d1b09c201fd33cb465e768589610 Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 29 Jul 2026 11:30:14 +0200 Subject: i hate something --- README.md | 1 + src/bot.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 0a9f68c..13ed966 100644 --- a/README.md +++ b/README.md @@ -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 { -- cgit v1.2.3