Here be answers/solutions to Advent of Code challenges for various years.
Answers are divided into individual subdirectories for each year and day.
cmd/aoc
contains a small CLI tool for automatically generating subdirectory structure, pre-populating each day with files to be completed.
elves
is my helper package. It contains functionality to:
- Enable easier testing of the samples provided as part of the challenge descriptions
- Automatically pull the full inputs when running the test case (uses session cookie placed in
AOC_SESSION_COOKIE
env var) - Automatically submit answer from test case to AoC (uses
AOC_SESSION_COOKIE
and is enabled by settingAOC_SUBMIT_ANSWERS
to any non-empty value)