Kyushik / pysc2-examples

StarCraft II - pysc2 Deep Reinforcement Learning Examples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StartCraft II Reinforcement Learning Examples

This example program was built on

Current examples

Minimaps

  • CollectMineralShards with Deep Q Network

CollectMineralShards

Quick Start Guide

1. Get PySC2

PyPI

The easiest way to get PySC2 is to use pip:

$ pip install pysc2

2. Install StarCraft II

Mac / Win

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/

Linux Packages

Follow Blizzard's documentation to get the linux version. By default, PySC2 expects the game to live in ~/StarCraftII/.

3. Download Maps

Download the ladder maps and the mini games and extract them to your StarcraftII/Maps/ directory.

4. Train it!

$ python train_mineral_shards.py

5. Enjoy it!

$ python enjoy_mineral_shards.py

About

StarCraft II - pysc2 Deep Reinforcement Learning Examples

License:Apache License 2.0


Languages

Language:Python 100.0%