Skip to content

Leeeebs/advent-of-code-2022

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Advent of code 2022

Advent of Code is an Advent calendar of small programming puzzles for a variety of skill sets and skill levels that can be solved in any programming language.

Each day of December poses a new 2-part challenge of varing difficulty.

This repo contains my solutions, written in Python.

Theres a Makefile to make life easier:
make env to build the venv & make run day=<day-number> to run the app.

make env
make run day=2

If you don't wanna use Makefile...

Poetry:

poetry install

Or Manual:

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

To Run:

source .venv/bin/activate
python AOC/app.py <day-number>

e.g.

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
python AOC/app.py 2