Skip to content

frodejac/aoc-2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2022

My go (get it?) at Advent of Code 2022.

How to run

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])

Use your own input

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).

Releases

No releases published

Packages

No packages published