8000 GitHub - yndajas/advent-of-code: Advent of Code solutions · GitHub
[go: up one dir, main page]

Skip to content

About

Advent of Code solutions

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Advent of Code solutions

My solutions to Advent of Code puzzles

Stats

Stars by year

Before 2025, each year had 25 days; now each year has 12. Each day per year has two parts, each awarding one star for the correct answer. You can't access part two without completing part one. Before 2025 the maximum stars per year was 50; now it's 24.

Year Stars
2025 (ongoing) 16
2024 40
2023 10
2022 10
2017 4
2016 10
2015 12

Parts solved by language by year

Solving parts in multiple languages doesn't award extra stars, but it's a fun way to learn/practice different languages.

Language 2025 (ongoing) 2024 2023 2022 2017 2016 2015 Total
TypeScript 0 40 10 0 0 0 4 54
Ruby 16 0 0 10 4 10 12 52
C# 0 8 0 0 0 0 0 8
Go 0 4 0 0 0 0 0 4
Rust 0 4 0 0 0 0 0 4
Lua 0 0 0 64A9 0 0 0 4 4

Getting the prompt and input

These are available at https://adventofcode.com/THE_YEAR/day/THE_DAY_WITHOUT_ZERO_PADDING. To get them locally, paste your Advent of Code cookie into the .env file and run the script script/start.zsh (or script/download.zsh) with the year and day.

Linking to assets (inputs and prompts)

The solution files in this repo rely on an associated assets repo (mine is stored privately on GitHub). The assets repo should have top-level folders for each year and input and prompts folders within each year folder. Within the prompts and input folders, there should be a file per day, named with the day zero-padded and suffixed with .html for prompts and .txt for inputs.

The path to the assets repo should be set in the .env file. With this set up, running script/download.zsh or script/start.zsh should sort the rest out.

LLM usage

Puzzle solutions are always written by hand. An LLM has been used on parts of the tooling in script/, though most of that is handwritten too (with initial inspiration from @cgsdev0 for the download/browse/start scripts).

About

Advent of Code solutions

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0