This example program was built on
- pysc2 (Deepmind) [https://github.com/deepmind/pysc2]
- baselines (OpenAI) [https://github.com/openai/baselines]
- s2client-proto (Blizzard) [https://github.com/Blizzard/s2client-proto]
- Tensorflow 1.3 (Google) [https://github.com/tensorflow/tensorflow]
- CollectMineralShards with Deep Q Network
The easiest way to get PySC2 is to use pip:
$ pip install pysc2
You have to purchase StarCraft II and install it. Or even the Starter Edition will work.
http://us.battle.net/sc2/en/legacy-of-the-void/
Follow Blizzard's documentation to
get the linux version. By default, PySC2 expects the game to live in
~/StarCraftII/
.
Download the ladder maps
and the mini games
and extract them to your StarcraftII/Maps/
directory.
$ python train_mineral_shards.py
$ python enjoy_mineral_shards.py