commandcenter
commandcenter copied to clipboard
Change game speed
Sometimes it is useful to slow down the game and look at the decisions the bot is making however the game is always really fast. Probably we should make a configurable gamespeed parameter in BotConfig.txt similar to the original game (i.e. fast, very fast).
Currently I don't know how that should be done in a proper way. The following approach works for me:
while (coordinator.Update()) {
// Slow down game speed for better look & feel while making experiments.
sc2::SleepFor(15);
}
Probably higher step value will do the same?
Good suggestion, I will add this to the config file