Skip to content

A clone of Backgammon++ project on GitLab made for the course Software Development @ Faculty of Mathematics, University of Belgrade

Notifications You must be signed in to change notification settings

daniilgrbic/BackgammonPP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backgammon++

board overview white pieces

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

Building instructions

Using QT Creator

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.

Using CMake without QT Creator (on Linux)

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

The team

About

A clone of Backgammon++ project on GitLab made for the course Software Development @ Faculty of Mathematics, University of Belgrade

Topics

Resources

Stars

Watchers

Forks