How projeffboy/my-pokemon-team works
Main Components
A. Core Application Layer:
• React Application Container (root)
• MobX State Management Store
• Main App Component (src/app.js)
B. Feature Components:
• Team Builder Interface
• Pokemon Card System
• Team Stats Calculator
• Pokemon Showdown Integration
• Type Chart System
C. Data Layer:
• Pokemon Data Store (pokedex, moves, items)
• Type Chart Data
• Learnsets
• Format Configurations
[User Interface Layer]
• [Component Layer]
• Team Viewer Component
• Pokemon Cards
• Pokemon Input
• Sprite Display
• More Info Panel
• Team Stats
• [State Management Layer]
• MobX Store
• Team State
• Pokemon Selection State
• UI State
• [Data Layer]
• Pokemon Data
• Moves Database
• Type Charts
• Format Rules
Key Interactions to Highlight
• Data flow between MobX store and UI components
• Pokemon selection and team building process
• Type calculation and stat computation paths
• Import/Export functionality with Pokemon Showdown
Implementation Details
• Use double lines for external system interactions
• MobX indicators for observable components
Additional Notes
• A section showing the Pokemon Showdown import/export functionality
• Type calculation system as it's a core feature
• Relationship between the team checklist and team validation
• Sprite handling system