mirror of
https://github.com/parnic/advent-of-code-2026.git
synced 2026-11-30 00:30:47 +00:00
- C# 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
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. |
||
| .idea/.idea.advent-of-code-2026/.idea | ||
| Properties | ||
| src | ||
| tools | ||
| .gitignore | ||
| advent-of-code-2026.csproj | ||
| advent-of-code-2026.sln | ||
| CLAUDE.md | ||
| global.json | ||
| GlobalSuppressions.cs | ||
| README.md | ||
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.