How zaintahir2025/flappy-bird works
Skybound Edition is a cross-platform Flutter arcade game. Players start a flight, control the bird through biome-themed obstacles and power-ups, then build career progress through local scores, gems, quests, and unlockable content. The graph preserves the README’s documented game, progression, audio, and storage capabilities. Dart implementation excerpts were not provided, so relationships are limited to README statements; platform runner nodes represent hosting/bootstrap code, not game logic.
Main entry points: home_page.dart Game loop and HUD · score_storage.dart Storage facade · leaderboard_dialog.dart Leaderboard dialog · main.dart App entry
Components 27
Flight gameplay
- Game loop and HUD
lib/home_page.dart - Game models
lib/game_models.dart - Bird and flight
lib/bird.dart - Biome obstacles
lib/barriers.dart - Particle effects
lib/particle_effects.dart
Progression and records
- Quest challenges
lib/quests_dialog.dart - Leaderboard dialog
lib/leaderboard_dialog.dart - Career data
lib/leaderboard_model.dart
Menus and presentation
- App entry
lib/main.dart - World selection
lib/world_select_dialog.dart - Skin shop
lib/skin_shop_dialog.dart - Pilot callsign
lib/name_input_dialog.dart - Settings
lib/settings_dialog.dart - Audio manager
lib/audio_manager.dart - Audio assets
assets/audio
Local persistence
- Storage facade
lib/score_storage.dart - Native storage
lib/score_storage_io.dart - Web storage
lib/score_storage_web.dart - Storage contract
lib/score_storage_stub.dart
Platform hosting
- Windows runner
windows/runner/win32_window.cpp - Flutter window host
windows/runner/flutter_window.cpp - Windows entry
windows/runner/main.cpp - Linux application host
linux/my_application.cc - Linux plugin registration
linux/flutter/generated_plugin_registrant.cc - iOS app delegate
ios/Runner/AppDelegate.swift - macOS plugin registration
macos/Flutter/GeneratedPluginRegistrant.swift
Other components
- Player
Connections 25
- Player → App entry: opens
README.md - App entry → Game loop and HUD: starts game
README.md - Player → Game loop and HUD: controls flight
README.md - Game loop and HUD → Bird and flight: renders flyer
README.md - Game loop and HUD → Biome obstacles: renders obstacles
README.md - Game loop and HUD → Game models: uses game data
README.md - Game loop and HUD → Particle effects: shows effects
- Game loop and HUD → World selection: opens selector
README.md - Game loop and HUD → Skin shop: opens shop
README.md - Game loop and HUD → Quest challenges: opens quests
README.md - Game loop and HUD → Leaderboard dialog: opens rankings
README.md - Game loop and HUD → Settings: opens settings
README.md - Game loop and HUD → Pilot callsign: requests callsign
README.md - Leaderboard dialog → Career data: shows career stats
README.md - Game loop and HUD → Career data: tracks career
README.md - Settings → Audio manager: configures sound
README.md - Audio manager → Audio assets: plays audio
README.md - Game loop and HUD → Storage facade: persists scores
README.md - Storage facade → Native storage: selects native
README.md - Storage facade → Web storage: selects web
README.md - Storage facade → Storage contract: uses contract
README.md - Windows entry → Flutter window host: creates window
windows/runner/main.cpp - Flutter window host → Windows runner: inherits window
- Linux application host → Linux plugin registration: registers plugins
- iOS app delegate → macOS plugin registration: registers plugins
ios/Runner/AppDelegate.swift