Skip to content

The Ludo game, created using C++ in SFML, includes six players, two players, three players, and four players.

Notifications You must be signed in to change notification settings

hamxaShaukat/Ludo-Sfml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ludo Game (C++ OOP with SFML)

A graphical Ludo game built in C++ using SFML.
The project supports both 4-player and 6-player modes, with animations for dice rolls and piece movements.

🎮 Features

  • Player Classes – Base class for Player, extended into specific colored players (Red, Blue, Green, Yellow, etc.).
  • Board Options – Choose between a 4-player Ludo board or a 6-player Ludo board.
  • Dice Roll Animation – Rolling dice is animated for realism.
  • Piece Movement Animation – Smooth movement of Ludo tokens on the board.
  • Game Flow – Turn-based gameplay with standard Ludo rules.
  • Win Condition – Detects when a player has moved all pieces to the finish.

🛠️ Tech Stack

  • Language: C++
  • Framework: SFML (Simple and Fast Multimedia Library)
  • Paradigm: Object-Oriented Programming (Base Player class + derived player classes)
  • Concepts: Inheritance, Encapsulation, Polymorphism

🚀 How to Run

  1. Install SFML on your system.
  2. Clone this repository:
    git clone https://github.com/hamxaShaukat/Ludo-sfml.git

About

The Ludo game, created using C++ in SFML, includes six players, two players, three players, and four players.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages