How jakesteam/pixelblacksmith works
Main Components
a. Core Game Systems:
• Activity Layer (Main UI screens)
• Helper Layer (Business Logic)
• Model Layer (Data Objects)
• Database Layer (SugarORM)
• Resource Management (Assets, Sounds, Layouts)
b. External Integrations:
• Google Play Services
• In-App Billing
• Advertisement System
• Storage System
[UI Layer]
• Activities (27+ game screens)
• Custom Controls
• Layouts & Resources
[Business Logic Layer]
• Helper Classes
• Game Logic Helpers
• UI Helpers
• Integration Helpers
• Service Layer
[Data Layer]
• Model Classes
• SugarORM
• Local Storage
[External Services]
• Google Play Services
• In-App Billing
• Advertisement System
Key Relationships to Highlight
a. Activity Flow:
• How MainActivity connects to other activities
• Navigation patterns between screens
b. Helper Class Integration:
• How DisplayHelper, VisitorHelper, and WorkerHelper interact
• Connection to models and UI
c. Data Flow:
• How models interact with SugarORM
• Data persistence patterns
Implementation Details
• Use rectangles for activities
• Use circles for helpers
• Use clouds for external services
• Annotations for critical paths
Additional Notes
• Helper-based architecture
• Relationship between activities and their corresponding helpers
• Game's offline-first architecture
• Data flow for save game system