🌟
Advent of Code 2021
🎄
My solutions for Advent of Code 2021.
About · What is Advent of Code? · Contents · Usage · Table of puzzles
(TODO: add final picture of AoC calendar)
🗣️
About
(TODO: impressions about this year's event)
🌟
What is Advent of Code?
🚀 TLDR: an online event where a two-part programming puzzle is released each day from Dec 1st to 25th.
Advent of Code is an online event created by Eric Wastl. In his words:
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 you like. People use them as a speed contest, interview prep, company training, university coursework, practice problems, or to challenge each other.
Source: https://adventofcode.com/about
📑
Contents
My solutions for the puzzles are available in the folder
In this folder's root, the following files can be found:
puzzle_solver.py
- main framework developed to streamline coding.solve_puzzles.py
- script for running the puzzle solving codes.Makefile
- used for starting the execution of the above script.
Inside each subfolder, the following files can be found:
input_test.txt
- text file containing input from tests given in the puzzle.input.txt
- text file containing my personal input for the puzzle.main.py
- Python code for solving the puzzle.
🛠️
Usage
Solve puzzle for a certain day:
make day=01
Solve puzzle for a certain day and part:
make day=08 part=1
make day=08 part=2
Solve puzzle for testing input:
make test day=12
make test day=12 part=1
Create a new day folder from template:
make new day=02
🗓️
Table of puzzles
DAY | PUZZLE TITLE | PUZZLE SUMMARY |
---|---|---|
|
Title | |