A classic Ludo board game implementation built with JavaFX.
This project is a digital version of the traditional Ludo board game, developed as part of a Java programming course. The game demonstrates advanced Java concepts including multithreading, reflection, and JavaFX UI development.
- Multiplayer Support - 2-4 players can play on the same device
- Interactive UI - Built with JavaFX for smooth graphics and animations
- Dice Rolling - Animated dice with random number generation
- Game Rules - Complete implementation of standard Ludo rules
- Token Movement - Automatic path calculation and collision detection
- Java - Core programming language
- JavaFX - UI framework for desktop application
- Multithreading - Concurrent game logic and UI updates
- Reflection - Dynamic class loading and method invocation
- OOP Principles - Encapsulation, inheritance, polymorphism
- MVC Pattern - Separation of concerns in architecture
- Launch the application
- Select number of players (2-4)
- Roll the dice by clicking the dice button
- Move your tokens according to dice value
- First player to get all tokens to the finish wins
- Roll a 6 to move a token out of the starting area
- Tokens move clockwise around the board
- Landing on an opponent's token sends it back to start
- Rolling a 6 grants an extra turn
- All four tokens must reach the home column to win
- Java 11 or higher
- JavaFX SDK
- Clone the repository
- Open in your IDE (IntelliJ IDEA, Eclipse, etc.)
- Configure JavaFX library path
- Run
Main.java
Single player:
Multiplayer:
- Implementing game logic with multithreading
- Using reflection for dynamic behavior
- Building interactive UIs with JavaFX
- Managing game state and player turns
- Handling user input and events
- RMI and JNDI
This project is for educational purposes only. But you can try it and have fun locally 🥰