This repository collects my Advent of Code solutions across multiple years, languages, and project styles. Instead of keeping each attempt in its own repository, everything lives here as a single collection that is easier to browse, compare, and maintain over time.
Advent of Code is an annual programming puzzle event created by Eric Wastl. You can learn more at adventofcode.com.
| Year | Completed Days | Completion | Primary Language(s) | Format | Naming Convention |
|---|---|---|---|---|---|
2020 |
7 | 7/25 | Swift | Xcode playgrounds | Day N - Puzzle Name.playground |
2021 |
4 | 4/25 | Python | standalone scripts | dayN.py + dayN.txt |
2022 |
3 | 3/25 | Python, Swift | mixed experiments | root Python script plus Xcode project resources |
The structure is intentionally uneven because it reflects how I was experimenting at the time. Some years are simple scripts, some are Xcode playgrounds, and some include app-style projects.
| Year | Days |
|---|---|
| 2020 | 1, 2, 3, 4, 5, 6, 7 |
| 2021 | 1, 2, 3, 4 |
| 2022 | 1 completed, 2-3 represented in Swift project resources |
The code itself keeps its original layouts, but each year README now answers the same basic questions:
- how many days are completed or represented
- what naming pattern that year uses
- how to run or open the solutions
- what makes that year structurally different from the others
.
├── 2020/
│ ├── README.md
│ ├── Day 1 - Report Repair.playground
│ ├── ...
│ └── Supporting Files
├── 2021/
│ ├── README.md
│ ├── day1.py
│ ├── ...
│ └── day4.txt
└── 2022/
├── README.md
├── 1-calorie-counting.py
├── advent-of-code-2022/
├── puzzle_input/
└── utilities/
Pick the year you want to explore, then work from that folder:
- Open a
*.playgroundin Xcode for the 2020 Swift solutions. - Run the Python files directly for the 2021 and some 2022 solutions.
- Open
2022/advent-of-code-2022/advent-of-code-2022.xcodeprojin Xcode if you want to inspect the 2022 SwiftUI project.
Inputs are stored alongside the solutions or in year-specific support folders, depending on the project style for that year.
For quicker browsing on GitHub, each year folder includes its own README:
This repo exists to keep all of my Advent of Code work in one place so it is easier to:
- review progress across years
- compare approaches in different languages
- revisit incomplete or abandoned attempts
- keep related puzzle work out of a growing pile of one-off repositories
- This is a personal archive of solutions and experiments, not a polished library.
- Coverage is incomplete and varies by year.
- Some projects reflect older toolchains, templates, and coding styles from when they were originally written.
- Advent of Code is owned and run by Eric Wastl. This repository is an independent fan project.