https://github.com/marcinbator/ludo
Desktop LUDO game with SFML library
https://github.com/marcinbator/ludo
2d-game cpp ludo sfml
Last synced: over 1 year ago
JSON representation
Desktop LUDO game with SFML library
- Host: GitHub
- URL: https://github.com/marcinbator/ludo
- Owner: marcinbator
- Created: 2023-10-10T19:30:33.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-20T13:29:55.000Z (over 2 years ago)
- Last Synced: 2025-01-09T01:54:23.137Z (over 1 year ago)
- Topics: 2d-game, cpp, ludo, sfml
- Language: C++
- Homepage:
- Size: 196 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# LUDO Game
## Description
This is a simple implementation of the classic LUDO game in C++14, utilizing the SFML (Simple and Fast Multimedia Library) for graphics and user interface. LUDO is a traditional Chinese game that allows 1-4 players to play against each other or against the computer.
## Features
- 1-4 Players: Play with friends or against computer opponents.
- SFML Graphics: Enjoy a visually appealing game interface.
- Classic LUDO Rules: Follow the traditional rules of the LUDO game.
- Turn-based Gameplay: Take turns to roll the dice and move your pieces.
- Winning Condition: The first player to move all their pieces to the finish line wins.
## Requirements for coding
- C++14 compiler (preferably Visual Studio 2022)
- SFML library (Window, Graphics)
## Installation
Clone the repository:
``` bash
git clone https://github.com/your_username/ludo-game.git
```
Run the executable:
``` bash
cd Release
./ludo
```
## How to Play
- Use the mouse to interact with the game.
- Roll the dice to determine the number of spaces to move.
- Move your pieces according to the dice roll.
- Follow the classic LUDO rules for capturing opponents' pieces etc.