Skip to content

AlexHedley/adventofcode2023

Repository files navigation

🎄 Advent of Code (2023) 🎄

Advent Of Code 2023


C#

Ranking

Private Leaderboard

   |     |                   1 1 1 1 1 1 1 1 1 1 2 2 2 2 2 2
   |     | 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
13 | 622 | * * * * ° * ° ■ * ° ° ° ° ° * ° ° ° ° ° ° ° ° ° ° | 14

Key: * Both | ■ One | ° None |

Silver ■ Gold ⭐
2 6

Solutions

This repo contains my solutions to the Advent of Code 2023 using primarily C#.

The code will likely be bad. :p

Setup

dotnet tool install -g dotnet-script

Copy the day folder and use.

Running Solutions/Tests

How to run the solution file for each day depends on the language.

C#

Any C# scripts will require dotnet-script and ScriptUnit.

For C# solutions

  • cd dayXX
  • dotnet script solution.csx
  • dotnet script tests.csx

or

  • dotnet script dayXX/solution.csx
  • dotnet script dayXX/tests.csx

Libraries