{"id":13793936,"url":"https://github.com/alibaba/gym-starcraft","last_synced_at":"2025-10-14T08:46:09.249Z","repository":{"id":66340247,"uuid":"78486061","full_name":"alibaba/gym-starcraft","owner":"alibaba","description":"StarCraft environment for OpenAI Gym, based on Facebook's TorchCraft. (In progress) ","archived":false,"fork":false,"pushed_at":"2017-07-06T01:33:07.000Z","size":84,"stargazers_count":529,"open_issues_count":4,"forks_count":138,"subscribers_count":76,"default_branch":"master","last_synced_at":"2025-05-12T20:42:11.832Z","etag":null,"topics":["artificial-intelligence","deep-learning","gym-starcraft","openai-gym","reinforcement-learning","starcraft"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alibaba.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2017-01-10T01:37:07.000Z","updated_at":"2025-05-03T09:53:03.000Z","dependencies_parsed_at":"2023-02-22T02:15:40.377Z","dependency_job_id":null,"html_url":"https://github.com/alibaba/gym-starcraft","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alibaba/gym-starcraft","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alibaba%2Fgym-starcraft","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alibaba%2Fgym-starcraft/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alibaba%2Fgym-starcraft/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alibaba%2Fgym-starcraft/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alibaba","download_url":"https://codeload.github.com/alibaba/gym-starcraft/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alibaba%2Fgym-starcraft/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279018299,"owners_count":26086345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["artificial-intelligence","deep-learning","gym-starcraft","openai-gym","reinforcement-learning","starcraft"],"created_at":"2024-08-03T23:00:33.606Z","updated_at":"2025-10-14T08:46:09.233Z","avatar_url":"https://github.com/alibaba.png","language":"Python","funding_links":[],"categories":["Open-Source Projects"],"sub_categories":["Starcraft Projects"],"readme":"# gym-starcraft\nGym 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.\n\n## Installation\n\n1. Install [OpenAI Gym](https://github.com/openai/gym) and its dependencies.\n\n2. Install [TorchCraft](https://github.com/TorchCraft/TorchCraft) and its dependencies. You can skip the torch client part. \n\n3. Install [torchcraft-py](https://github.com/deepcraft/torchcraft-py) and its dependencies.\n\n4. Install the package itself:\n    ```\n    git clone https://github.com/deepcraft/gym-starcraft.git\n    cd gym-starcraft\n    pip install -e .\n    ```\n\n## Usage\n1. Start StarCraft server with BWAPI by Chaoslauncher.\n\n2. Run examples:\n\n    ```\n    cd examples\n    python random_agent.py --ip $server_ip --port $server_port \n    ```\n    \n    The `$server_ip` and `$server_port` are the ip and port of the server running StarCraft.   \n    \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falibaba%2Fgym-starcraft","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falibaba%2Fgym-starcraft","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falibaba%2Fgym-starcraft/lists"}