A beautifully designed Ludo game that brings the classic board game to life with Flutter's Material Design. This project features smooth animations, multiplayer gameplay, and responsive controls, ensuring a fun and engaging experience. It leverages BLoC (Business Logic Component) state management, Dependency Injection, and Hive for efficient data handling, making it a high-quality mobile gaming experience.
(Include your screenshots here to showcase different game modes, dice rolling, and player movements.)
- Classic Ludo Gameplay: Enjoy the traditional Ludo game with friends or AI.
- Multiplayer Mode: Challenge your friends in local multiplayer.
- BLoC State Management: Ensures smooth gameplay with structured logic.
- Material Design: Clean and modern UI adhering to Flutter's Material principles.
- Animated Dice Roll: Smooth animations make the gameplay visually appealing.
- Turn-Based System: Manages player turns efficiently to keep the game engaging.
- Flutter: The cross-platform framework for mobile game development.
- Dart: The programming language used for Flutter apps.
- BLoC: Efficient state management for handling game logic.
- Hive: Fast, lightweight local database for storing game history.
- Dependency Injection: For modular and scalable code structure.
- Ensure Flutter is installed. Follow the guide here.
- Clone this repository:
git clone https://github.com/arpit24sahu/ludo-game.git
- Navigate to the project directory:
cd ludo-game
- Fetch dependencies:
flutter pub get
- Run the app:
flutter run
- Game Board: The Ludo board with four colored zones is displayed.
- Dice Rolling: Players take turns rolling a dice, determining movement.
- Pawn Movement: Pawns move based on dice results and follow Ludo rules.
- Capturing Opponents: Send opponent pawns back to their base.
- Winning Condition: Move all pawns to the center home to win the game.
- Game Save: The game progress is automatically stored using Hive.
ludo-game-flutter/
├── lib/
│ ├── data/ # Game logic and repository
│ ├── domain/ # Data models
│ ├── presentation/ # UI files
│ ├── ├── bloc/ # Bloc Files
│ ├── ├── painters/ # Board painter
│ ├── ├── screens/ # The screens
│ ├── ├── widgets/ # Various widgets
│ ├── main.dart # Main entry point
│ ├── injection.dart # Dependency injection setup
└── pubspec.yaml # Project dependencies
- Online Multiplayer and AI: Play Ludo with friends across the world. Play with AI when no one is there.
- Custom Rules Mode: Modify Ludo rules for a personalized experience.
- Leaderboards & Achievements: Track scores and unlock achievements.
- Hive Storage: Saves game progress and tracks previous match stats.
Contributions are welcome! Feel free to submit issues and pull requests to improve the game.
This project is licensed under the MIT License. See the LICENSE file for details.
Developed by Arpit Sahu. Reach out for any questions or feedback!