Skip to content
Python wrapper for TorchCraft. (In progress)
Python
Branch: master
Clone or download
longht Merge pull request #5 from GaoFangshu/master
Modified `parse_table` function.
Latest commit 68d68de Jul 27, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
torchcraft_py Modified `parse_table` function. Jul 27, 2017
.gitignore
README.md some update. Jan 20, 2017
setup.py Update torchcraft python wrapper Jan 12, 2017

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/deepcraft/torchcraft-py.git
    cd torchcraft-py
    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.

You can’t perform that action at this time.