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.
- 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)
- C++17 (or newer) compiler.
- Pre-built SFML 2.6.x libs.
- CMake 3.20+ or newer (GUI recommended)
- 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.xfolder to its own home, example:C:/SFML/SFML-2.6.2. - Edit file CMakeLists.txt, to set value
SFML_HOMEto absolute path you moved SFML into (from previous step).
- 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- Latest display drivers
- Use your OS package manager to install SFML 2.6 or newer.
sudo apt install libsfml-dev- Alternatively, you may build SFML 2.6 from source, by uncommenting
include(sfml.cmake)inside dependencies/CMakeLists.txt.
Please see BUILDING.md for detailed instructions for each platform.
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.
BSD v3 © 2024, Davis T.