A Flutter-based party game where players try to identify the undercover player among them.
- Flutter SDK (latest stable version recommended)
- Android Studio or VS Code with Flutter plugins
- An emulator or physical device for testing
- Clone this repository
- Navigate to the project directory
- Run
flutter pub getto install dependencies - Connect a device or start an emulator
- Run
flutter runto launch the app
The app follows a standard Flutter project structure:
lib/
├── main.dart # Entry point of the application
├── models/ # Data models for players and game logic
├── providers/ # State management using providers
└── screens/ # Different game screens (home, game, results)
- Game Provider: Manages the game state, player information, and voting logic
- Player Model: Contains player data including name and elimination status
- Game Screens: Different views for various game stages (setup, gameplay, voting)
The app uses the Provider pattern for state management and follows Flutter's widget composition approach for UI construction.