diff --git a/cpp/src/model/ais/v0_random.cpp b/cpp/src/model/ais/v0_random.cpp index ae6e810..6033c56 100644 --- a/cpp/src/model/ais/v0_random.cpp +++ b/cpp/src/model/ais/v0_random.cpp @@ -6,7 +6,8 @@ Move ai::v0_random::_search(const Board& b) { std::vector moves = b.all_legal_moves(); - std::this_thread::sleep_for(std::chrono::milliseconds(10)); // Simulate work + std::this_thread::sleep_for(std::chrono::milliseconds(thinking_time) + ); // Simulate work return moves[rand() % moves.size()]; }