Skip to content

Longwater1234/space-checkers

Repository files navigation

space - checkers

CMake on Windows platform | GitHub License | Itch.io

Offline & Online Multiplayer Checkers game in C++ built with SFML 2.6, imGui, Protobuf and ixWebsockets. With very minimal dependencies and a simple build process. All dependencies are auto-downloaded (as .tar.gz) and configured for you using CPM.cmake.

This game can connect securely to both Private and Public game servers. The backend server for Online Mode is written in Golang, and is available on GitHub which you can self-host! Download and Play the pre-built game from the itch.io link above.

Main Libraries Used

  • SFML 2.6.2
  • imGui-SFML
  • ixWebsockets
  • spdlog
  • mbedtls
  • libcpr (curl for C++17)
  • Google Protobuf v33 (Used entirely during gameplay)
  • simdjson (Used once, for parsing list of public servers)

Requirements for Building

For Windows (10 or later)

  • MS Visual Studio 2022 or newer (NOT vscode), with "Desktop C++ Development" bundle.
  • Please download "Visual C++ 64bit" edition of SFML; ignore others.
  • Move your unzipped SFML-2.6.x folder to its own home, example: C:/SFML/SFML-2.6.2.
  • Edit file CMakeLists.txt, to set value SFML_HOME to absolute path you moved SFML into (from previous step).

For macOS (x64 & arm64)

  • XCode 14 or newer from AppStore (with MacOS SDK)
  • Please install SFML 2.6 for macOS as "Frameworks", as shown in official SFML guide.
  • Download Apple Developer tools. After Xcode is installed, run this in your Terminal:
  sudo xcode-select --install
  • After installing the CMake GUI, add its accompanying CLI to PATH as shown:
   sudo "/Applications/CMake.app/Contents/bin/cmake-gui" --install

For Linux Desktop

  • Latest display drivers
  • Use your OS package manager to install SFML 2.6 or newer.
  sudo apt install libsfml-dev

Build Instructions

Please see BUILDING.md for detailed instructions for each platform.

Code Contributions

Pull requests are welcome! See GitHub Issues tab to help with new Features. Just kindly remember run ./lint.sh script before you git push, and your header files should end with .hpp.

License

BSD v3 © 2024, Davis T.

About

Offline and Online Multiplayer Checkers (draughts) game in C++17 built with SFML, ixWebsockets and Protobuf. Works on Windows, MacOS & Linux Desktop

Topics

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Packages

 
 
 

Contributors

Languages