Giter Site home page Giter Site logo

advent-of-code-2022's Introduction

Advent Of Code

Base template for Advent Of Code solutions. Updated yearly to reflect the latest .NET / C# versions.

To use

Each day's solution will be implemented in the Solution class located in each day's respective folder. The "day" integer property has already been filled out since that is known ahead of time, you will have to fill in the "title" since that is unknown until the day of. Each solution has two parts (methods) and they will return a string.

Solution inputs are in the Resources.resx file, the keys are already there just replace the value with your own input. The BaseSolution abstract class has a GetResourceString() method that will return the input as a string for you.

By default when running the project it will iterate through all days that have the Title filled out, this will essentially run all your answers up to the day that you are currently on. However there is a GetSolutionByDay(int day) method in the SolutionRepository class that will return the solution instance for a specific day if preferred.

I have also included a solutions section in the README below that allows you to quickly link to the question and the answer in your repo. Maintenance is required every year (I will try to remember to update the template yearly) but if you already have it locally make sure you change the "/[YEAR]/" in the Question URL's below.

Solutions

  1. Day 1 Question
  2. Day 2 Question
  3. Day 3 Question
  4. Day 4 Question
  5. Day 5 Question
  6. Day 6 Question
  7. Day 7 Question
  8. Day 8 Question
  9. Day 9 Question
  10. Day 10 Question
  11. Day 11 Question
  12. Day 12 Question
  13. Day 13 Question
  14. Day 14 Question
  15. Day 15 Question
  16. Day 16 Question
  17. Day 17 Question
  18. Day 18 Question
  19. Day 19 Question
  20. Day 20 Question
  21. Day 21 Question
  22. Day 22 Question
  23. Day 24 Question
  24. Day 24 Question
  25. Day 25 Question

advent-of-code-2022's People

Contributors

domdelorenzo avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.