Day | Stars | Description |
---|---|---|
Day1 | ⭐ ⭐ | warm up |
Day2 | ⭐ ⭐ | i overcomplicated this and predefined a lot |
Day3 | ⭐ ⭐ | some fancy ascii operations |
Day4 | ⭐ ⭐ | i changed input a little bit 😬 |
Day5 | ⭐ ⭐ | my challeng was to read the input without changes |
Day6 | ⭐ ⭐ | just 3 nested for loops |
Day7 | ⭐ ⭐ | looked really hard but was easy |
Day8 | ⭐ ⭐ | i think i saw similar task year ago |
Day9 | ⭐ ⭐ | it was pretty tough for me to complete second star |
Day10 | ⭐ ⭐ | very satisfying i really like image output tasks |
Day11 | ⭐ ⭐ | required some math but still was easy |
Day12 | ⭐ ⭐ | BFS |
Day13 | ⭐ ⭐ | parsing wasnt that hard |
Day14 | ⭐ ⭐ | first try both stars (so easy) |
Project uses makefile for certain tasks such as:
- adding new day from template
- running specific star from specific day
- making snapshot for certain star in specific day
I also made config.env
where initial values can be changed
To add new day run command
make add
this will create new day folder according to Template
and DAY
variable in config.env
. To specify day without always changing congig.env
variable run:
make add DAY=<your_day>
To run star that you want from any day use command like:
make DAY=<your_day> STAR=<your_star>
or
make all DAY=<your_day> STAR=<your_star>
To make snapshot run command
make snapshot DAY=<your_day> STAR=<your_star>
if its first snapshot it will create folder for snapshot in your_day
forlder and create copy of requested star in this folder
it will add date to the name of the copy so u dont need to worry about having multiple snapshots with the same name
If you want to use it as a template for your advent of code solutions do not change anything in config or makefile. If you are not sure what you are doing just follow the instructions. Makefile was writen only for my purposes and might not work corectly on all devices also its simple by design.
Commits might be in a wrong order because i created repo on day 10 and tried to group everything right
Folders are in wrong order because i forgot about that that Day10 will be before Day2 😥 and its ordered by name and ugh i cant look at it sometimes but im to lazy to change it all at this point