Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alibaba/gym-starcraft
StarCraft environment for OpenAI Gym, based on Facebook's TorchCraft. (In progress)
https://github.com/alibaba/gym-starcraft
artificial-intelligence deep-learning gym-starcraft openai-gym reinforcement-learning starcraft
Last synced: 3 months ago
JSON representation
StarCraft environment for OpenAI Gym, based on Facebook's TorchCraft. (In progress)
- Host: GitHub
- URL: https://github.com/alibaba/gym-starcraft
- Owner: alibaba
- Created: 2017-01-10T01:37:07.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-07-06T01:33:07.000Z (over 7 years ago)
- Last Synced: 2024-08-03T23:03:18.167Z (6 months ago)
- Topics: artificial-intelligence, deep-learning, gym-starcraft, openai-gym, reinforcement-learning, starcraft
- Language: Python
- Homepage:
- Size: 82 KB
- Stars: 526
- Watchers: 77
- Forks: 136
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-game-ai - [code
README
# gym-starcraft
Gym StarCraft is an environment bundle for OpenAI Gym. It is based on [Facebook's TorchCraft](https://github.com/TorchCraft/TorchCraft), which is a bridge between Torch and StarCraft for AI research.## Installation
1. Install [OpenAI Gym](https://github.com/openai/gym) and its dependencies.
2. Install [TorchCraft](https://github.com/TorchCraft/TorchCraft) and its dependencies. You can skip the torch client part.
3. Install [torchcraft-py](https://github.com/deepcraft/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.