Code Monkey home page Code Monkey logo

cpp-sc2

GitHub C++17 Build Status Join the chat in Discord: https://discordapp.com/invite/Emm5Ztz

The StarCraft II API provides access to in-game state observation and unit control. The API is a wrapper around protobuf defined protocol over a websocket connection.
While it's possible to write directly to the protocol, this library provides a C++ and class-based abstraction.

Documentation

Precompiled Libraries

You can download precompiled libraries for Windows and OS X here.

Support

Have questions but don't want to create an issue? Join the unofficial Starcraft II AI Discord server (Invite Link). Questions about this repository can be asked in the text channel #cpp.
Also, please consider to support this project on Boosty. Support of the project allows to make releases more often and implement new features for developers.

Building the project

This library uses CMake to generate project files. It builds with Visual Studio on Windows and Makefiles on the other platforms. It relies on the following contrib packages:

  1. Civetweb
  2. Protobuf
  3. SDL (optional)

Follow the instructions for submodules and building in docs/building.md.

Work with documentation

To edit and generate the documentation yourself:

  1. Download and install doxygen
  2. Fork the repository and clone it locally
  3. Checkout the master branch 'git checkout origin/master -b my-documentation-update
  4. Make changes to the code documentation or docs/ files
  5. From the root of the project run: doxygen Doxyfile
  6. Review your documentation changes by opening docs/html/index.html in your browser
  7. Push your changes to your fork and send us a pull request

Contributing

This project follows a Code of Conduct in order to ensure an open and welcoming environment.

Please, read also the detailed contributing guide before creating pull-requests to the project. It can save you a lot of time.

Coding Standard

We use the Google C++ Style Guide with some tweaks and clang-format to format the code.

Additional Downloads

Maps and Replays

This repository only comes with a few maps for testing. Additional maps and replays can be found here.

cpp-sc2's Projects

blank-bot icon blank-bot

Starter bot for StarCraft II with integrated cpp-sc2

codegen icon codegen

Code generator utility for cpp-sc2 API

commandcenter icon commandcenter

Original version of CommandCenter focused on the StarCraft 2 part of the bot.

cpp-sc2 icon cpp-sc2

StarCraft II Client C++ library, proud fork of Blizzard/s2client-api.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.