Jack Osmond's solutions to Advent of Code
In Git Bash, navigate to where you would like to clone this repository, and run:
git clone https://github.com/JWOsmond/advent-of-code.gitEnter the repository:
cd advent-of-codeand run:
conda env create -f environment.yamlYour setup is now complete.
When running the project, you need to ensure you have the right packages loaded in your working environment, so you must activate the environment you created in the previous step. This can be done with the following command in Git Bash:
conda activate advent-of-code-envYou can run desired scripts now with the command, e.g.:
python 2025/day-01-secret-entrance.pyDatasets need to be downloaded from the problem page and saved to a file name specified in the README within a given year's folder. For example, 2025/day-01-secret-entrance.py requires there to be a file named directions.txt inside the 2025/input directory. You can generate your own personalised problem dataset on the page for that problem, or copy the example dataset for each problem to the file with the right name.