Skip to content

Latest commit

 

History

History
24 lines (20 loc) · 1.09 KB

File metadata and controls

24 lines (20 loc) · 1.09 KB

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