This is the fourth year that I have decided to participate in the Advent of Code. I decided to try to learn some new skills this year, learning more about modern Python and trying to automatically generate a GitHub Pages site with my solutions, which you can find here.
Anyone can use this repository as a template; it contains a command line utility that can:
- Create a new Day folder, corresponding test, and download your user-specific input so you only need to implement the solution, typically consisting of three functions: parse_data, solve_part1, and solve_part2
- Submit the results to the Advent of Code website and, using a Github hook adapt this Readme.md to show the solved stars
- Generate a Github Pages blog from your code and module comments (see an example here: https://geertlitjens.nl/advent-of-code-2022)
To use most features, you need your API token for Advent of Code, and either give it to the executable or add it as an environmental variable AOC_TOKEN or a .aoc_token file in your home folder. To get the token, see here: wimglenn/advent-of-code-wim#1.
Good luck!
Day | Part 1 | Part 2 |
---|---|---|
Day 1 | ⭐ | ⭐ |
Day 2 | ⭐ | ⭐ |
Day 3 | ⭐ | ⭐ |
Day 4 | ⭐ | ⭐ |
Day 5 | ⭐ | ⭐ |
Day 6 | ⭐ | ⭐ |
Day 7 | ⭐ | ⭐ |
Day 8 | ⭐ | ⭐ |
Day 9 | ⭐ | ⭐ |
Day 10 | ⭐ | ⭐ |
Day 11 | ⭐ | ⭐ |
Day 12 | ⭐ | ⭐ |
Day 13 | ⭐ | ⭐ |
Day 14 | ⭐ | ⭐ |
Day 15 | ⭐ | ⭐ |
Day 16 | ⭐ | ⭐ |
Day 17 | ⭐ | ⭐ |
Day 18 | ⭐ | ⭐ |