How shin201005/gamestoregba_mobile works
GameStore is a Flutter app for browsing, organizing, and playing classic GBA/GB/GBC games, with user accounts and an admin area. The documented user flow is to sign in, browse or search the catalog, inspect a game, then launch it in an embedded EmulatorJS player. Favorites, library membership, account state, and theme preferences are additional capabilities. The README describes WebView, SharedPreferences, and XAMPP integration; source excerpts were not provided for the Dart implementation, so those links reflect README claims rather than inspected calls.
Main entry points: game_service.dart Game service · auth_service.dart Authentication service · main.dart App entry · home_page.dart Home and store
Components 25
App navigation
- App entry
lib/main.dart - Screen navigation
lib/pages/main_page.dart
Game catalog
- Home and store
lib/pages/home_page.dart - Game search
lib/pages/search_page.dart - Game model
lib/models/game_model.dart - Game catalog data
assets/data/games.json - Game details
lib/pages/game_detail_page.dart - Game library
lib/pages/library_page.dart - Favorites
lib/pages/favorites_page.dart - Game service
lib/services/game_service.dart
Accounts and admin
- Sign in
lib/pages/login_page.dart - Registration
lib/pages/register_page.dart - Authentication service
lib/services/auth_service.dart - User model
lib/models/user_model.dart - Admin screens
lib/pages/admin
Play and preferences
- Game player
lib/pages/play_game_page.dart - EmulatorJS
- WebView integration
lib/pages/play_game_page.dart - XAMPP host
- ROM files
- Local preferences
- Favorite service
lib/services/favorite_service.dart - Library service
lib/services/library_service.dart - Theme settings
lib/services/theme_service.dart
Other components
- User
Connections 27
- User → App entry: opens app
README.md - App entry → Screen navigation: starts navigation
- User → Sign in: signs in
README.md - User → Registration: registers
README.md - Sign in → Authentication service: authenticates
README.md - Registration → Authentication service: creates account
README.md - User → Home and store: browses games
README.md - User → Game search: searches games
README.md - Home and store → Game service: loads games
- Game search → Game service: filters games
README.md - Game service → Game catalog data: reads catalog
- User → Game details: opens details
README.md - User → Game library: manages library
README.md - User → Favorites: manages favorites
README.md - Favorites → Favorite service: updates favorites
- Game library → Library service: updates library
- User → Game player: plays game
README.md - Game player → WebView integration: opens player
README.md - WebView integration → EmulatorJS: hosts emulator
README.md - EmulatorJS → XAMPP host: loads from host
README.md - XAMPP host → ROM files: serves ROMs
README.md - Authentication service → Local preferences: stores session
README.md - Favorite service → Local preferences: stores favorites
README.md - Library service → Local preferences: stores library
README.md - User → Admin screens: uses admin
README.md - User → Theme settings: changes theme
README.md - Theme settings → Local preferences: stores theme