Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Parnic 3311d56309
Initial commit
Zhuzhed up the framework and output a little bit from previous years. Since LLMs are part of life now, for better or worse, I've gone ahead and setup a claude.md to instruct it to act as a guide or coach rather than as a developer. The intent here is to learn and practice, not just spit out a solution, but if I don't even know how to approach a problem or what type of algorithm might help, some guidance is better than just not finishing it.
2026-11-22 14:59:32 -06:00
.idea/.idea.advent-of-code-2026/.idea Initial commit 2026-11-22 14:59:32 -06:00
Properties Initial commit 2026-11-22 14:59:32 -06:00
src Initial commit 2026-11-22 14:59:32 -06:00
tools Initial commit 2026-11-22 14:59:32 -06:00
.gitignore Initial commit 2026-11-22 14:59:32 -06:00
advent-of-code-2026.csproj Initial commit 2026-11-22 14:59:32 -06:00
advent-of-code-2026.sln Initial commit 2026-11-22 14:59:32 -06:00
CLAUDE.md Initial commit 2026-11-22 14:59:32 -06:00
global.json Initial commit 2026-11-22 14:59:32 -06:00
GlobalSuppressions.cs Initial commit 2026-11-22 14:59:32 -06:00
README.md Initial commit 2026-11-22 14:59:32 -06:00

Advent of Code 2026

My solutions to Advent of Code 2026.

Setup

Requires the .NET 11 SDK.

Create a .env file in the repo root:

AOC_SESSION=<value of your adventofcode.com "session" cookie>
AOC_CONTACT=<how the site owner can reach you, sent in the User-Agent>

Tools

dotnet run -- new           # today's day: create file, download input, open puzzle
dotnet run -- new 3         # same, for a specific day
dotnet run                  # latest day, then copies its last answer to the clipboard
dotnet run -- 3             # a specific day
dotnet run -- 3 -part1      # one part (or -part2)
dotnet run -- 3 -example    # uses inputs/03.example.txt (-example2, etc. also work)
dotnet run -- all           # every day, then the tree
dotnet run -c Release -- 3  # for realistic timings

To check examples, put expected answers in inputs/03.example.answers.txt, part 1 on the first line and part 2 on the second.

AI use

I solve the puzzles. Claude helped augment the tooling and utilities, and is limited to giving hints on request by CLAUDE.md.