Implementation of multi agent environemnt for micro-management in StarCraft I based on gym-starcraft
-
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 gym-starcraft and its dependencies.
-
Install the package itself:
git clone https://github.com/DebangLi/commcraft.git cd commcraft pip install -e .
rl_based: baseline of reinforcement learning
rule_based: baselines of rule based methods
-
Start StarCraft server with BWAPI by Chaoslauncher.
-
Run examples:
cd rule_based python weakest_agent.py --ip $server_ip --port $server_port
The
$server_ip
and$server_port
are the ip and port of the server running StarCraft.