How qaehak/poke-tactoe works
Main Components
a. User Interface Layer
• Splash Screen Activity
• Game Setup Activity
• Game Screen Activity
• UI components:
• Buttons (Reset, Undo/Redo)
• TextViews
• EditText fields
• ImageViews (for Pokemon pieces)
• Spinners
• ScrollView
b. Game Logic Layer
• Game State Manager
• Move History Manager (for undo/redo functionality)
• Pokemon Evolution Handler
• Win Condition Checker
• Board State Controller
c. Data Persistence Layer
• File Storage Manager (for save game functionality)
• Exception Handler
Component Relationships
• User input flow from UI to Game Logic
• Game state updates from Logic to UI
• Data saving/loading between Logic and Persistence layers
• Event handling between components
Technical Details
• Android Activity lifecycle integration
• Toast notification system
• AlertDialog implementation
• File I/O operations
• Exception handling paths