advent-of-code-22

This repository contains my solutions to the Advent of Code 2022 challenges.

Usage

Each day has its own folder, and each challenge has its own file. To run a challenge, use the following command:

$ python dayXX/main.py

To run the tests, use the following command:

$ pytest dayXX/main.py

Visualizations

Day 05

Day 05

Inspired by this Reddit post from MrAntex.

This utilizes the curses library to create a terminal visualization of the crane moving the crates.

Run with:

$ python day05/pretty.py