My solutions to the 2022 advent of code challenges! With a custom AoC module to read input more easily and archive files.
I work on the current challenge in the main folder, then archive it once the challenge is completed so the next challenge can be started!
- Drop challenge input in
now.txt
. - In
now.py
, read input withaoc.lines()
oraoc.numbers()
. - Write code to complete the challenge and submit.
- Clean up the code a bit.
- Archive by running
python helpers.py save -d -y
. This moves the file and input to their respective resting locations.
Simply run python helper.py old -d -y
to execute the appropriate script.
██████████████
████ ████
███ ███
██ ██
██ ██
██ ██
██ ████ ████ ██
██ ████ ████ ██
██ ██
██ ░░░░ ██
██ ░░░░░░░░░░░░ ██
██ ██
██ ██ ██ ██
██ ██ ██ ██
██ ██ ██ ██
██ ██
▓▓▓▓ ███ ███ ▓▓▓▓
▓▓ █████ █████ ▓▓▓▓
▓▓▓▓▓▓▓▓ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▓▓
▓▓▓▓ ████▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▓▓▓▓
▓▓▓▓ ████ ▒▒▒▒████ ▓▓▓▓▓▓
▓▓▓▓▓▓ ████ ▒▒▒▒ ████ ▓▓
▓▓ ████ ██ ▒▒▒▒ ████ ▓▓▓▓▓▓