How briancheldelin/go-advent-of-code works
Main Components
a. Core Structure:
• Daily Challenge Modules (day1 through day6)
• Utility Package
• Grid Package
• GUI Package
Specific Implementation Details
a. Component Representation:
• Use rectangles for each day's solution module (Day 1-6)
• Use hexagons for utility packages
• Use rounded rectangles for the Grid and GUI packages
b. Layout Structure:
[Main Project Container]
• [Daily Challenges]
• [Day 1] → main.go, tests
• [Day 2] → main.go, tests
• [Day 3] → main.go, tests
• [Day 4] → main.go, gui.go, tests
• [Day 5] → main.go, tests
• [Day 6] → main.go, tests
• [Utility Layer]
• [Core Utilities]
• [Grid Package]
• [GUI Package]
• Bidirectional relationships where appropriate (especially for GUI interactions)
Additional Elements
• Version control elements (.gitignore, LICENSE)
• Development container configuration (.devcontainer)
Notes
• Keep the focus on the modular structure of the solutions
• Reusable utility components
• How the project maintains separation of concerns while sharing common utilities
• Test coverage representation for quality assurance
Remember to maintain a balance between showing the independent nature of each day's solution and their connections to the shared utility code. This will help developers understand both the overall architecture and how to add new daily solutions effectively.