How fluffis/adventofcode2019 works
Main Components Structure
• [Core Framework]
• AocDay.java (Interface)
• DayInterface.java
• Main.java
• GridUtils.java
• [Year-Specific Implementations]
• 2019 Solutions
• 2020 Solutions
• 2021 Solutions
• 2022 Solutions
• 2023 Solutions
Component Relationships
• Rectangle (Blue): Core framework classes
• Rectangle (Green): Year implementations
• Rectangle (Yellow): Utility classes
• Diamond (Orange): Data files
• Circle (Purple): Test cases
Detailed Architecture Breakdown
• [Main.java] --> [DayInterface]
• ↓
• [AocDay (Abstract)]
• ↓
• [Year Implementations]
• ↓
• [Individual Day Solutions]
• ↓
• [Input/Output Handlers]
Special Components to Highlight
• IntCodeMachine/LongCodeMachine (2019-specific)
• GridUtils (shared utility)
• Test Framework Structure
Data Flow Representation
• [Input Files (.in)] --> [Day Solutions] --> [Output Files (.out)]
• ↑
• [Test Validation]
Key Design Elements to Include:
Core Framework Layer
• Inheritance relationships
• Extension points
Solution Implementation Layer
• By year
• Common patterns
• Shared utilities
Testing Framework
• Test input/output relationship
• Validation flow
• Test case organization
Utility Components
• Grid utilities
• IntCode/LongCode machines
• Helper classes
• Blue: Core framework components
• Green: Solution implementations
• Yellow: Utility classes
• Orange: Data files
• Purple: Test components
• Red: Critical path flows
Year-specific components
• High-level architecture visibility
• Implementation detail clarity
• Testing framework integration
• Data flow representation
• Component relationships
• Special markers
This will create a comprehensive yet understandable representation of the project's architecture while maintaining the specific focus on Advent of Code challenge solutions.