https://github.com/daniilgrbic/backgammonpp
A clone of Backgammon++ project on GitLab made for the course Software Development @ Faculty of Mathematics, University of Belgrade
https://github.com/daniilgrbic/backgammonpp
backgammon qt university-project
Last synced: 4 months ago
JSON representation
A clone of Backgammon++ project on GitLab made for the course Software Development @ Faculty of Mathematics, University of Belgrade
- Host: GitHub
- URL: https://github.com/daniilgrbic/backgammonpp
- Owner: daniilgrbic
- Created: 2024-01-21T10:05:57.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-21T10:06:23.000Z (about 2 years ago)
- Last Synced: 2025-01-12T20:46:44.379Z (about 1 year ago)
- Topics: backgammon, qt, university-project
- Language: C++
- Homepage: https://gitlab.com/matf-bg-ac-rs/course-rs/projects-2023-2024/backgammon
- Size: 15.7 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Backgammon++
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](https://en.wikipedia.org/wiki/Tables_game) board:
- [Backgammon](https://en.wikipedia.org/wiki/Backgammon)
- [Long Nardy](https://en.wikipedia.org/wiki/Long_Nardy)
Demo video (in Serbian): [link](https://www.youtube.com/watch?v=pObS1RZxKF8)
## Building instructions
### Using QT Creator
Install QT for Open Source Development from [qt.io](https://www.qt.io/download-open-source). 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](https://docs.gitlab.com/ee/gitlab-basics/start-using-git.html#choose-a-repository) or [download](https://gitlab.com/matf-bg-ac-rs/course-rs/projects-2023-2024/backgammon/-/archive/main/backgammon-main.zip) 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:
```bash
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:
```bash
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:
```bash
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:
```bash
cd build/ && ./BackgammonPP
```
## The team
- Branko Grbić, 2/2020
- Ivan Gogić, 29/2020
- Marko Grujčić, 15/2020
- Igor Kandić, 70/2020
- Mladen Puzić, 18/2020
- Daniil Grbić, 42/2020
- Aleksandar Zečević, 45/2020