made v0_random thinking longer
This commit is contained in:
parent
2764787e63
commit
1d83c066f6
@ -6,7 +6,8 @@ Move ai::v0_random::_search(const Board& b) {
|
|||||||
std::vector<Move> moves = b.all_legal_moves();
|
std::vector<Move> 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()];
|
return moves[rand() % moves.size()];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user