Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jesperdramsch/advent-of-code
My solutions for the Advent of Code
https://github.com/jesperdramsch/advent-of-code
advent advent-of-code advent-of-code-2018 advent-of-code-2019 advent-of-code-2020 aoc aoc2018 aoc2019 aoc2020
Last synced: about 2 months ago
JSON representation
My solutions for the Advent of Code
- Host: GitHub
- URL: https://github.com/jesperdramsch/advent-of-code
- Owner: JesperDramsch
- Created: 2018-12-02T00:47:30.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2023-12-28T05:16:50.000Z (12 months ago)
- Last Synced: 2024-06-12T17:32:55.330Z (7 months ago)
- Topics: advent, advent-of-code, advent-of-code-2018, advent-of-code-2019, advent-of-code-2020, aoc, aoc2018, aoc2019, aoc2020
- Language: Jupyter Notebook
- Homepage: https://adventofcode.com
- Size: 19 MB
- Stars: 6
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🎄 Advent of Code 🎄
It's that time of the year again! Only a few days until Christmas. Chocolate makes you fat and lately there have been scandals of mineral oil in advent calendars each year. How about feeding our brains instead?
Each day we get to open a door with a puzzle to solve by code.
https://adventofcode.com
## 👀 How To 👀
I made a few utility scripts through the year, here's how to use them:
### New Year
Run the Python script `.utils/new_year.py` to set up folders and the Readme for a fresh new year!
This script symlinks the .utils folder into the year as well.
### New Day
Run the Python script `.utils/new_day.py` to setup files for each day to solve the puzzles.
This also fetches your data for the puzzle!
### Parsers
I wrote a few common data parsers for AoC in `.utils/parser.py`.
## 🏁 Goals 🏁
🐍 Improve Python and explore the Python ecosystem (especially the [datascience stack](http://pydata.org/)) and improve understanding of the inner workings of Python.
🖧 Exchange ideas on the [subreddit](https://www.reddit.com/r/adventofcode) and learn from other approaches as well.
### 2023
Using the detailed error log again, since it really helps learning. Just gonna have fun with this one, work's hard enough as it is.
### 2022
Decided to make Matt Harrison's idea of a detailed error log this year's focus. Put it in the [Readme.md](/2022/Readme.md) of [2022](/2022/).
### 2021
Keeping on Keeping on.
### 2020
Finish AOC without restrictions. Consistency is key. Have fun while doing it. Don't aim for the leaderboard, it opens 5am and people are crazy fast anyways. Tinker with the Day class and possibly add some nifty utilities to make each day a little easier.
### 2019
Learn some OOP and build a reusable class for each day. Build tests with [Pytest](https://docs.pytest.org/en/stable/), ideally trying some TDD to solve the problems. The examples give a great basis for small-scale tests and the input-file serve larger tests which can be added after the right solution was found.
### 2018
Get acquainted with Advent of Code and solve some of the puzzles in Python.
## 🌟 Completion Status 🌟
### [2023](./2023/)
| | 1st | 2nd | 3rd | 4th | 5th | 6th | 7th | 8th | 9th | 10th | 11th | 12th | 13th |
| ------ | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---- | ---- | ---- | ---- |
| Part 1 | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ |
| Part 2 | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ || | 14th | 15th | 16th | 17th | 18th | 19th | 20th | 21st | 22nd | 23rd | 24th | 25th |
| ------ | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---------------- | ---------------- |
| Part 1 | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | | |
| Part 2 | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | | |### [2022](./2022/)
| | 1st | 2nd | 3rd | 4th | 5th | 6th | 7th | 8th | 9th | 10th | 11th | 12th | 13th |
| ------ | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---- | ---- | ---- | ---- |
| Part 1 | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ |
| Part 2 | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ || | 14th | 15th | 16th | 17th | 18th | 19th | 20th | 21st | 22nd | 23rd | 24th | 25th |
| ------ | ---- | ---- | ---- | ---- | ---------------- | ---------------- | ---------------- | ---------------- | ---------------- | ---------------- | ---------------- | ---------------- |
| Part 1 | ⭐ | ⭐ | ⭐ | ⭐ | | | | | | | | |
| Part 2 | ⭐ | ⭐ | ⭐ | ⭐ | | | | | | | | |### [2021](./2021/)
| | 1st | 2nd | 3rd | 4th | 5th | 6th | 7th | 8th | 9th | 10th | 11th | 12th | 13th | 14th |
| ------ | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---- | ---- | ---- | ---- | ---- |
| Part 1 | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ |
| Part 2 | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ || | 15th | 16th | 17th | 18th | 19th | 20th | 21st | 22nd | 23rd | 24th | 25th |
| ------ | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- |
| Part 1 | ⭐ | ⭐ | ⭐ | ⭐ | | ⭐ | ⭐ | ⭐ | | | |
| Part 2 | ⭐ | ⭐ | ⭐ | ⭐ | | ⭐ | ⭐ | ⭐ | | | |### [2020](./2020/)
| | 1st | 2nd | 3rd | 4th | 5th | 6th | 7th | 8th | 9th | 10th | 11th | 12th | 13th | 14th |
| ------ | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---- | ---- | ---- | ---- | ---- |
| Part 1 | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ |
| Part 2 | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ || | 15th | 16th | 17th | 18th | 19th | 20th | 21st | 22nd | 23rd | 24th | 25th |
| ------ | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- | ---- |
| Part 1 | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ |
| Part 2 | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ |### [2019](./2019/)
| | 1st | 2nd | 3rd | 4th | 5th | 6th | 7th | 8th | 9th | 10th | 11th | 12th | 13th | 14th |
| ------ | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---- | ---- | ---- | ---- | ---- |
| Part 1 | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ |
| Part 2 | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ |### [2018](./2018/)
| | 1st | 2nd | 3rd | 4th | 5th | 6th | 7th |
| ------ | --- | --- | --- | --- | --- | --- | --- |
| Part 1 | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | | ⭐ |
| Part 2 | ⭐ | ⭐ | ⭐ | ⭐ | ⭐ | | |