How shenmareparas/chess works
Project type and purpose
• This is a standalone mobile chess game built with Flutter (Dart) and the Flame engine.
• It targets Android and iOS (see top-level android/ and ios/ folders).
• There is no separate backend or server—everything runs on the device.
• Key features: 1-player (AI via minimax + αβ pruning) or 2-player offline, theme/piece customization.
File structure
• Top-level dirs:
• android/: Flutter’s Android embedding + Gradle build scripts
• ios/: iOS embedding + CocoaPods + Xcode projects
• lib/: All Dart source code
• assets/: Static files (images, fonts, audio)
• Under lib/:
• logic/: Core game engine and AI move calculation
• model/: App-wide state (app_model.dart) and theming
• views/: Presentation layer, broken into main_menu_view, settings_view, chess_view, plus UI components
• Configuration files:
• pubspec.yaml (deps: Flame, Flutter SDK, etc.)
• android/gradle.properties, ios/Podfile
README for additional insights
• Confirms use of Flame engine for rendering.
• Explains AI difficulty levels mapped to search depth.
• No mention of networking or external services.