TorchCraftAI
A bot for machine learning research on StarCraft: Brood War
|
A constructed gameplay scenario for training/testing purposes. More...
#include <game.h>
Public Member Functions | |
GameSinglePlayer (GameOptions const &gameOptions, GamePlayerOptions const &player1, GamePlayerOptions const &player2=GamePlayerOptions(tc::BW::Race::None)) | |
GameSinglePlayer (GameSinglePlayer &&)=default | |
std::shared_ptr< torchcraft::Client > | makeClient (torchcraft::Client::Options opts=torchcraft::Client::Options()) const |
Protected Member Functions | |
std::unique_ptr< OpenBwProcess > | startProcess () const |
GameSinglePlayer ()=default | |
Protected Attributes | |
std::unique_ptr< OpenBwProcess > | proc_ |
A constructed gameplay scenario for training/testing purposes.
A scenario is defined by the commands that should be executed when the game starts. For example, it can spawn units, ask them to move at a certain place,...'
cherrypi::GameSinglePlayer::GameSinglePlayer | ( | GameOptions const & | gameOptions, |
GamePlayerOptions const & | player1, | ||
GamePlayerOptions const & | player2 = GamePlayerOptions(tc::BW::Race::None) |
||
) |
|
default |
|
protecteddefault |
std::shared_ptr< tc::Client > cherrypi::GameSinglePlayer::makeClient | ( | torchcraft::Client::Options | opts = torchcraft::Client::Options() | ) | const |
|
protected |
|
protected |