Online Backgammon multiplayer game written in C++ using QT framework.
Backgammon++ supports multiple game modes - playing online, playing against our custom built neural network, or playing locally (2 players using the same machine to take turns).
Additionally, Backgammon++ also includes multiple games played on the tables board:
Demo video (in Serbian): link
Install QT for Open Source Development from qt.io. While installing, make sure to select Custom installation and select the following components:
- QT 6.6.1 (in the QT dropdown)
- QT Multimedia (under QT / Additional Libraries)
- QT Creator (under Development and Designer Tools)
- CMake (under Development and Designer Tools)
- Ninja (under Development and Designer Tools)
Before building, you will need to clone or download the repository.
Now open QT Creator, and click Open Project. Navigate to the project folder and inside into the BackgammonPP directory, and open CMakeLists.txt.
Building and running the project now is as simple as pressing the big green button on the bottom left of the screen.
You will need git
, cmake
, ninja
, and g++
in order to clone and build the project, as well as two QT dependencies: qt6-base-dev
and qt6-multimedia-dev
. For example, on Debian you may run the following command to install the above packages:
sudo apt-get install git cmake ninja-build g++ qt6-base-dev qt6-multimedia-dev
Next you will need to to clone the repository, and position yourself inside of it:
git clone https://gitlab.com/matf-bg-ac-rs/course-rs/projects-2023-2024/backgammon.git && cd ./backgammon
Now build the project by running the following command:
cmake -G Ninja -B build/ -S BackgammonPP/ && ninja -C build/
The binary is located inside the build directory, and can be launched from the terminal like this:
cd build/ && ./BackgammonPP