alibaba/gym-starcraft

Name: gym-starcraft

Owner: Alibaba

Description: StarCraft environment for OpenAI Gym, based on Facebook's TorchCraft. (In progress)

Created: 2017-01-10 01:37:07.0

Updated: 2018-05-24 05:42:19.0

Pushed: 2017-07-06 01:33:07.0

Homepage:

Size: 84

Language: Python

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

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
  1. Install OpenAI Gym and its dependencies.

  2. Install TorchCraft and its dependencies. You can skip the torch client part.

  3. Install torchcraft-py and its dependencies.

  4. Install the package itself:

    clone https://github.com/deepcraft/gym-starcraft.git
    ym-starcraft
    install -e .
    
Usage
  1. Start StarCraft server with BWAPI by Chaoslauncher.

  2. Run examples:

    xamples
    on 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.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.