My code to find solutions to the Advent of Code.
To follow how the code was created these are the steps I've settled on:
- capturing the input in
examples*.txt
andinput.txt
. - copy
part1.py
from the previous day just to bootstrap the imports and basic input code. - change the code until it works.
- copy
part1.py
topart2.py
. - change the code until it works.
- commit all files unchanged from the moment I got the answer.
I feel like this will leave a good record of how I handled the change in requirements from part 1 to 2.
The solution for each day is in two parts (1 & 2) and requires python3 to be installed
in general they can be run with ./part1.py input.txt
they generally print more than necessary but the answer is always on the final line.