No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
torchcraft_py
.gitignore
README.md
setup.py

README.md

torchcraft-py

Python wrapper for TorchCraft, a bridge between Torch and StarCraft for AI research.

Installation

  1. Install TorchCraft and its dependencies. You can skip the Torch client part.

  2. Install the package itself:

    git clone https://github.com/wuhuikai/torchcraft-py3
    cd torchcraft-py3
    pip install -e .
    

Usage

  1. Start StarCraft server with BWAPI by Chaoslauncher.

  2. Run examples:

    cd examples
    python attack_weakest.py --ip $server_ip --port $server_port
    

    The $server_ip and $server_port are the ip and port of the server running StarCraft.