An open API service indexing awesome lists of open source software.

https://github.com/talha-1010/ludo-game

a ludo board game made with c++ using Operating System concepts.
https://github.com/talha-1010/ludo-game

cpp deadlock game ludo-game mutex operating-system semaphores

Last synced: about 2 months ago
JSON representation

a ludo board game made with c++ using Operating System concepts.

Awesome Lists containing this project

README

          

# Ludo-Game

# Introduction
Ludo is a strategy board game for two to four players, in which the players race their
four tokens from start to finish according to the rolls of a single dies. This project
consists of designing a multithreaded application of Ludo for four players each having
maximum four tokens. Two, three or four can play, without partnerships. At the
beginning of the game, each player’s tokens are out of play and staged in the player's
yard (one of the large corner areas of the board in the player's color). When able to, the
players will enter their tokens one per time on their respective starting squares, and
proceed to race them clockwise around the board along the game track (the path of
squares not part of any player's home column). When reaching the square below his
home column, a player continues by moving tokens up the column to the finishing
square.The rolls of a single die control the swiftness of the tokens, and entry to the finishing
square requires a precise roll from the player. The first to bring all their tokens to the
finish wins the game. The others often continue play to determine second, third, and
fourth place finishers.

# How to Compile
* Download the project
* Compile using command `g++ game.cpp -pthread`
* then run using command `./a.out`

# Screenshots
![ludo1](https://user-images.githubusercontent.com/61515279/131225810-5965c355-3067-4dff-890d-6a2474dea17e.png)

### Project PDF
[OSProject-Spring2021.pdf](https://github.com/Talha-1010/Ludo-Game/files/7051343/OSProject-Spring2021.pdf)