Skip to content

abhiiux/Ludo-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

11 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฒ Ludo Game (Unity 2D)

A Classic Ludo Game by [Abhidev Ramesh] | [https://abhidevramesh.framer.website/]

[Screenshots]
Screenshot 2025-06-25 at 4 43 05โ€ฏPM

๐Ÿ† Key Highlights *

  • Architecture: Implemented turn management and movement logic using modular C# scripts
  • UX: Designed intuitive click-based controls (no complex keybindings).
  • Optimization: Avoided Update() overuse with event-driven logic (mention if applicable).

Code Structure

Assets/
โ”œโ”€โ”€ Scripts/
โ”‚   โ”œโ”€โ”€ Dice.cs                   // Handles RNG and roll visualization
โ”‚   โ”œโ”€โ”€ PlayerController.cs       // Manages pieces and turn logic
โ”‚   โ””โ”€โ”€ TeamScript.cs             // Moves pieces according to input.
|         --PlayerScript.cs       // Tracks position and steps
|            ---TileScript.cs     // Handles Canceling Logic
โ””โ”€โ”€ Sprites/                      

๐ŸŽฎ How to Play & Test

๐Ÿš€ Quick Start

-Assets/Scenes/Main.unity

Game Rules

  • Take turns rolling the dice by clicking it
  • Move your pieces according to the rolled value
  • First player to get all 4 pieces home wins!

Testing Mode

To test specific dice rolls:

  1. Select the Dice GameObject in Unity
  2. In the Inspector:
  • Enable isLog (checkbox in DiceScript)
  • Enter desired value (1-6) in RollValue field

Important: Disable isLog for normal randomized gameplay!

About

Ludo Game (4 players)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published