Skip to content

UGing265/FlappyBirdMobile

Repository files navigation

Flappy Bird Mobile

Introduce

Đây là một game di động Flappy Bird được phát triển bằng FlutterFlame Game Engine. Game là một clone kinh điển của trò chơi Flappy Bird gốc, nơi người chơi điều khiển một con chim bay qua các ống để đạt điểm cao nhất.

Feature

  • 🎮 Gameplay đơn giản nhưng gây nghiện
  • 🎵 Âm thanh hiệu ứng (bay, va chạm)
  • 📱 Hỗ trợ đa nền tảng (Android, iOS, Web)
  • 🎨 Đồ họa 2D với Flame engine
  • 🌙 Physics thực tế (gravity + acceleration)

Structure folder

FlappyBirdMobile/
├── lib/
│   ├── main.dart                    # Entry point
│   ├── game/
│   │   ├── flappy_bird.dart        # Game logic (Flame Game)
│   │   ├── assets.dart             # Quản lý asset paths
│   │   ├── bird_movement.dart      # Enum trạng thái chim
│   │   ├── configuration.dart      # Config game
│   │   └── main_menu_screen.dart   # Menu chính
│   ├── components/
│   │   ├── bird.dart               # Class chim
│   │   ├── pipe.dart               # Class ống
│   │   ├── ground.dart             # Class đất
│   │   ├── background.dart         # Class nền
│   │   └── pip_group.dart          # Quản lý ống
│   └── screens/
│       ├── main_menu_screen.dart   # UI menu
│       └── game_over_screen.dart   # UI game over
├── assets/
│   ├── images/                     # Sprites
│   ├── audio/                      # Âm thanh
│   └── fonts/                      # Fonts
├── pubspec.yaml
└── README.md

Guide how to use

Requirement

  • Flutter SDK: ^3.10.4
  • Dart: ^3.10.4

Install

# 1. Clone project
cd FlappyBirdMobile

# 2. Cài dependencies
flutter pub get

# 3. Chạy app
flutter run

# 4. Build APK (release)
flutter build apk --release

GamePlay

  1. Tap screen → Chim bay lên
  2. Chim rơi xuống do trọng lực
  3. Tránh ống cản đường
  4. Qua ống = +1 điểm
  5. Va chạm = Game Over

Home Gameplay GameOver


Technology

  • Flutter: Cross-platform framework
  • Flame: 2D game engine
  • Dart: Programming language
  • flame_audio: Audio management

Copyright & License

Flappy Bird Mobile © 2025 - Developed by Shiroru

Project học tập dựa trên trò chơi Flappy Bird gốc. Phát hành cho mục đích giáo dục, không mục đích thương mại.


Happy Gaming! 🎮

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published