This is a template for Advent of Code in Scala.
Run the main method in main.scala
end enter the number of the day to generate input files, solution file and tests.
- Paste the example input to
src/resources/DayX/input1-example.txt
- Paste the answer for example input to test method in
src/test/DayX/PuzzleDayXTest.scala
- Implement the solution in
src/main/scala/DayX/PuzzleDayX.scala
until the test for example input is green. - Run the test for real input to see the answer.
- Repeat for the second puzzle of the day.