Skip to content

Change game speed #19

@alkurbatov

Description

@alkurbatov

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?

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions