Repository for the Advent of Code Challenge, solved in Python3. Every year has a subfolder, where the the solution is located.
. . . + . . . . . . # . . . . ### . . . . . "#:. .:##"##:. .:#" . . . . "####"###"####" . . "#:. .:#"###"#:. .:#" . . . . "#########"#########" . . . "#:. "####"###"####" .:#" . . . . "#######""##"##""#######" . ."##"#####"#####"##" . . . "#:. ... .:##"###"###"##:. ... .:#" . . "#######"##"#####"##"#######" . . . . "#####""#######""#####" . . . " 000 " . . . . . 000 . . . .. .. ..................O000O........................ ...... ...
Initialize a day by running python build.py [day] [optional: year, default=2020]
.
A typical solution is a file containing the funcitons part_1
and part_2
, returning
respectively the solution to the given day.
Add testcases into the examples.json
files, and test them with pytest
.
Once the testcases run without problem,
submit with python solve.py [day] [optional: year, default=2020]