Repository for Advent of Code solvers.
For 2021 I'm setting myself the challenge to solve the puzzles in Rust (probably I will solve each puzzle in Python first and then try to realize it in Rust some time later...).
In 2020, I solved the majority of puzzles in Python. When I come around to clean up the code a bit, I will upload it as well (14.5/25).
- Create a virtual environment (
python3 -m venv .venv
) and activate it (source .venv/bin/activate
) - Install the requirements (
pip install -r requirements.txt
)- If you don't want to execute
populate.py
,pip install termcolor
suffices
- If you don't want to execute
- Get your personalized input from Advent of Code and place it in the directory of the respective day
- You can use the
populate.py
script (needs your session cookie asSESSION
in a.env
file) - Be responsible! Do not remove the 10s delay between requests!
- You can use the
- From the directory
2020
executepython3 -m day<nr>.solve