Not much to say, puzzle solutions this year's Advent of Code using C#. just to have fun at evenings.
- Clone repo (or download zip)
- Open VS and open the solution (.sln).
- Right click on the solution -> "Restore NuGet Packages".
- In case you get errors on Microsfot offline packages it means you are missing files from your local machine.
In that case you must check for 2 things,
4.1. First if you have this folder: C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\ (If not you should get the microsoft SDKs.
4.2. Second thing is to have the nuget.org on your packages sources. You can get it from this link and just add it on your project sources.
- All input are in one place: "AdventOfCode2023/Inputs" (replace them with yours).
- My goal is for each puzzle to be able to run on it's own class.
- Each method excels in a single task to enhance code readability.
PS: At some point, I found myself using a bunch of Items (classes) to tackle tricky logic and math problems.
Day | Puzzle 1 | Puzzle 2 |
---|---|---|
Day 1 | ⭐ | ⭐ |
Day 2 | ⭐ | ⭐ |
Day 3 | ⭐ | ⭐ |
Day 4 | ⭐ | ⭐ |
Day 5 | ⭐ | ⭐ |
Day 6 | ⭐ | ⭐ |
Day 7 | ⭐ | ⭐ |
Day 8 | ⭐ | ⭐ |
Day 9 | ||
Day 10 | ||
Day 11 | ||
Day 12 | ||
Day 13 | ||
Day 14 | ||
Day 15 | ||
Day 16 | ||
Day 17 | ||
Day 18 | ||
Day 19 | ||
Day 20 | ||
Day 21 | ||
Day 22 | ||
Day 23 | ||
Day 24 | ||
Day 25 |