/advent-of-code-2022-solutions

Solutions of the Advent of Code 2022 written in Scala 3

Primary LanguageScala

Solutions of the Advent of Code 2022


Solutions of the Advent of Code 2022 written in Scala 3 with the help of Cats Effect and Fs2.

How to run it?

In the following path ./src/main/resources/inputs, add your inputs in your favourite UTF-8 format (I recommend .txt) with the name dayx.txt, where x is a day from 1 to 25:

├───src
│   ├───main
│   │   ├───resources
│   │   │   ├───inputs      <---- right here
│   │   │   └───outputs

Then just run the Main.scala file and the solutions should appear both in the console and in the output folder from above.

Things to do:

  • Automatically retrieve the inputs from the Advent of Code page.
  • Do all the exercises this time, not like last year 🙄.