{"id":13677358,"url":"https://github.com/cpp-sc2/cpp-sc2","last_synced_at":"2025-04-29T11:30:42.400Z","repository":{"id":37720663,"uuid":"199187454","full_name":"cpp-sc2/cpp-sc2","owner":"cpp-sc2","description":"StarCraft II Client C++ library, proud fork of Blizzard/s2client-api.","archived":false,"fork":false,"pushed_at":"2024-05-29T18:08:32.000Z","size":12497,"stargazers_count":48,"open_issues_count":28,"forks_count":30,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-08-02T13:17:30.542Z","etag":null,"topics":["ai","artificial-intelligence","bot","cpp","game","sc2","sc2-api","sc2api","starcraft","starcraft-ii","starcraft-ii-api","starcraft2"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cpp-sc2.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-07-27T16:15:01.000Z","updated_at":"2024-07-05T16:44:00.000Z","dependencies_parsed_at":"2023-02-17T03:01:19.456Z","dependency_job_id":"53841a7b-6c06-45ad-bef9-624eb0069073","html_url":"https://github.com/cpp-sc2/cpp-sc2","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpp-sc2%2Fcpp-sc2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpp-sc2%2Fcpp-sc2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpp-sc2%2Fcpp-sc2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cpp-sc2%2Fcpp-sc2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cpp-sc2","download_url":"https://codeload.github.com/cpp-sc2/cpp-sc2/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224163555,"owners_count":17266523,"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","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":["ai","artificial-intelligence","bot","cpp","game","sc2","sc2-api","sc2api","starcraft","starcraft-ii","starcraft-ii-api","starcraft2"],"created_at":"2024-08-02T13:00:40.954Z","updated_at":"2025-04-29T11:30:42.394Z","avatar_url":"https://github.com/cpp-sc2.png","language":"C++","readme":"# cpp-sc2\n\n[![GitHub](https://img.shields.io/github/license/cpp-sc2/cpp-sc2)](https://github.com/cpp-sc2/cpp-sc2/blob/master/LICENSE)\n[![C++17](https://img.shields.io/badge/C%2B%2B-17-green.svg)](https://isocpp.org/std/the-standard)\n[![Build Status](https://github.com/cpp-sc2/cpp-sc2/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/cpp-sc2/cpp-sc2/actions/workflows/ci.yml)\n[![Join the chat in Discord: https://discord.gg/YurYAgHRSw](https://img.shields.io/badge/Discord-Chat!-brightgreen.svg)](https://discord.gg/YurYAgHRSw)\n\nThe StarCraft II API provides access to in-game state observation and unit\ncontrol. The API is a wrapper around protobuf defined protocol over a websocket\nconnection.  \nWhile it's possible to write directly to the protocol, this library provides\na C++ and class-based abstraction.\n\n## Documentation\n\n* [Getting Started with SC2 CPP Bot API](https://www.youtube.com/watch?v=Z7eX7YLPwc8).\n* A detailed tutorial is located in [docs/tutorial1.md](docs/tutorial1.md).\n* The API documentation can be found on our\n  [github pages site](https://cpp-sc2.github.io/cpp-sc2). The documentation is\n  generated from code automatically, using [Doxygen](http://www.stack.nl/~dimitri/doxygen/)\n* For example of usage of this API please refer to\n  [CommandCenter](https://github.com/cpp-sc2/commandcenter),\n  [Suvorov bot](https://github.com/alkurbatov/suvorov-bot) and\n  the [examples](https://github.com/cpp-sc2/cpp-sc2/tree/master/examples) folder\n  in this project.\n* To start from scratch, please check this\n  [boilerplate](https://github.com/cpp-sc2/blank-bot).\n\n## Precompiled Libraries\n\nYou can download precompiled libraries for Windows and OS X\n[here](docs/precompiled_libs.md).\n\n## Support\n\nHave questions but don't want to create an issue? Join the unofficial\nStarcraft II AI Discord server\n([Invite Link](https://discordapp.com/invite/Emm5Ztz)). Questions about this\nrepository can be asked in the text channel `#cpp`.  \nAlso, please consider to support this project on\n[Boosty](https://boosty.to/cpp-sc2). Support of the project allows to make\nreleases more often and implement new features for developers.\n\n## Building the project\n\nThis library uses [CMake](https://cmake.org/download/) to generate project\nfiles. It builds with [Visual Studio](https://www.visualstudio.com/downloads/)\non Windows and Makefiles on the other platforms. It relies on the following\ncontrib packages:\n\n1. Civetweb\n1. Protobuf\n1. SDL (optional)\n\nFollow the instructions for submodules and building in\n[docs/building.md](docs/building.md).\n\n## Additional Maps\n\nThis repository only comes with a few maps for testing.\nAdditional maps can be found [here](https://aiarena.net/wiki/maps/).\n\n## Contributing\n\nPlease, read the detailed [contributing guide][contributing-guide] before\ncreating pull-requests to the project. It can save you a lot of time.\n\n[contributing-guide]: https://github.com/cpp-sc2/cpp-sc2/issues/9\n","funding_links":[],"categories":["APIs"],"sub_categories":["CPP APIs"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpp-sc2%2Fcpp-sc2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcpp-sc2%2Fcpp-sc2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcpp-sc2%2Fcpp-sc2/lists"}