A collection of classic arcade games built with Flutter, demonstrating advanced UI techniques and game development patterns.
Try the games directly in your browser: Play Flutter Games Collection
The web version is optimized for desktop and mobile browsers, featuring:
- Responsive layout adaptation
- Keyboard and touch controls
- Progressive Web App (PWA) support
- Offline gameplay capability
- Endless Runner - Chrome Dinosaur-inspired with jump/duck mechanics
- Tic Tac Toe - Human vs Human and Human vs AI with multiple difficulty levels
- 2048 - Classic sliding tile puzzle with smooth animations
- Space Invaders - Classic arcade shooter with wave-based enemy spawning
- Tetris - Falling block puzzle with line clearing mechanics
- Cyber Quest - RPG with character creation and class specialization
- 60fps rendering with optimized performance
- Cross-platform support (iOS, Android, Web, Desktop)
- Touch and keyboard input handling
- Score persistence and statistics
- Haptic feedback integration
- Modern Flutter UI with custom animations
- Flutter SDK 3.0.0 or higher
- Dart SDK 2.17.0 or higher
- Android Studio or Xcode for mobile development
- Chrome browser for web development
git clone https://github.com/Piyushhhhh/flutter-games.git
cd flutter-games
flutter pub get
flutter runFor web deployment:
flutter run -d chromeEndless Runner:
- Space/Tap: Jump
- Down Arrow/Hold: Duck
Tic Tac Toe:
- Tap: Place marker
- Menu: Select game mode
2048:
- Swipe: Move tiles
- Tap: Undo move
Space Invaders:
- Arrow Keys/Drag: Move ship
- Space/Tap: Fire weapon
Tetris:
- Swipe: Rotate/Move pieces
- Progressive difficulty scaling
Cyber Quest:
- Character creation and progression
- Multiple class specializations
- Flutter 3.0+ - Primary UI framework
- Dart 2.17+ - Programming language
- Custom Painters - Advanced graphics rendering
- Animation Controllers - 60fps game loops
- State Management - Efficient game state handling
The project follows a clean MVC (Model-View-Controller) architecture:
- Models - Game state and data structures
- Controllers - Business logic and state management
- Views - UI components and user interactions
- Painters - Custom graphics rendering
| Platform | Status | Notes |
|---|---|---|
| Android | ✅ Supported | Optimized touch controls |
| iOS | ✅ Supported | Native haptic feedback |
| Web | ✅ Supported | Keyboard/mouse input |
| Windows | ✅ Supported | Desktop UI optimization |
| macOS | ✅ Supported | Native window management |
| Linux | ✅ Supported | GTK implementation |
- Audio system integration
- Global leaderboards
- Additional games (Snake, Pac-Man)
- Multiplayer functionality
- Advanced analytics
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.






