fix.
Gym StarCraft is an environment bundle for OpenAI Gym. It is based on Facebook’s TorchCraft, which is a bridge between Torch and StarCraft for AI research.
Install OpenAI Gym and its dependencies.
Install TorchCraft and its dependencies. You can skip the torch client part.
Install torchcraft-py and its dependencies.
Install the package itself:
git clone https://github.com/deepcraft/gym-starcraft.git cd gym-starcraft pip install -e .
Start StarCraft server with BWAPI by Chaoslauncher.
Run examples:
cd examples python random_agent.py --ip $server_ip --port $server_port
The $server_ip and $server_port are the ip and port of the server running StarCraft.
$server_ip
$server_port
gym-starcraft
Gym StarCraft is an environment bundle for OpenAI Gym. It is based on Facebook’s TorchCraft, which is a bridge between Torch and StarCraft for AI research.
Installation
Install OpenAI Gym and its dependencies.
Install TorchCraft and its dependencies. You can skip the torch client part.
Install torchcraft-py and its dependencies.
Install the package itself:
Usage
Start StarCraft server with BWAPI by Chaoslauncher.
Run examples:
The
$server_ipand$server_portare the ip and port of the server running StarCraft.