← 开源

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

Model DevelopmentEnvironmentsPython
增长势头
+024 小时新增 Star0.0%
527
Star
138
Fork
+0
本周
1
贡献者
创建于 2017-01-10 · 更新于 2026-05-26 · 今日第 22836 名
主要开发者
tangzk
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:

    git clone https://github.com/deepcraft/gym-starcraft.git
    cd gym-starcraft
    pip install -e .
    

Usage

  1. Start StarCraft server with BWAPI by Chaoslauncher.

  2. Run examples:

    cd examples
    python 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.

排名相邻
同类项目

AI Rank iPhone 版

随时追踪 AI 模型榜单

在 App Store 下载