My go (get it?) at Advent of Code 2022.
Requires Go 1.19 to be installed on your system.
Makefile should do all the heavy lifting. If you want to build and run everything, just do make all
.
Run a specific puzzle solution:
make day([0-1][0-9])|(2[0-4])
AoC input depends on the logged in user. My input can be found in the assets
directory. It's organized by one subdirectory for each day, each with a input.txt
input file, and part1.txt
and part2.txt
solution files (if I've managed to solve the puzzle). If you want to use your own input you can either replace the appropriate input files manually, or run make clean
and set the environment variable AOC_SESSION
to your personal AoC session cookie value. If you want to run the tests, make sure to also replace the solution files with your own solutions (no automatic way to do that unfortunately).