Hi, if you are reading this is because you pretty likely want to participate in the development of this API and curious about how to start.
You are in cpp-sc2 core project, but actually, we have more repositories you
can contribute to:
- codegen - type IDs code generation utility;
- commandcenter - original version of CommandCenter bot with integrated cpp-sc2;
- docker-sc2 - dockerized StarCraft II Linux client;
- scrubber - scrubs type ids from a game client.
- blank-bot - starter bot for StarCraft II with integrated cpp-sc2.
- Search for other issues tagged with
good first issueorhelp wantedtag. - Suggest new features.
- Vote for existing issues (issues with highest number of reactions are likely to be fixed first).
- Fix
// FIXME:comments in the code. - Improve the documentation of the API.
- Add/Fix/Improve tutorials.
- Add/Fix/Improve new bot examples.
- Add/Fix/Improve tests.
- Add new bots examples.
- Support this project on Boosty. Support of the project allows to make releases more often and implement nice new features for developers.
If you have any suggestions, feel free to message over
Discord (the #cpp channel).
This project follows a Code of Conduct in order to ensure an open and welcoming environment.
We use the Google C++ Style Guide with some tweaks and
clang-format to format
the code.
We follow the semantic versioning approach, this is important so your PR will appear on the Changelog 🎉 ! I guess you expect recognition and we will give it to you.
The list of supported commit message prefixes:
feat- a new feature or API improvements;fix- a bugfix;perf- performance improvements;refactor- code refactoring;test- functional or unit tests;build- build system improvements, also includes CI improvements;docs- documentation improvements;chore- routine task, e.g. create new release (doesn't appear in the changelog);style- fix code style, no functional changes.
To edit and generate the documentation yourself:
- Download and install Doxygen.
- Fork the repository and clone it locally.
- Checkout the master branch
git checkout origin/master -b my-documentation-update. - Make changes to the code documentation or docs/ files.
- From the root of the project run:
doxygen Doxyfile. - Review your documentation changes by opening docs/html/index.html in your browser.
- Push your changes to your fork and send us a pull request.
- Keep the PR small as possible and one single topic for each.
- Write good commit message: describe what was the problem and why the changes required.
- Consider implementing a test.