Skip to content

raget/advent-of-code-scala-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Scala starter template for Advent Of Code

This is a template for Advent of Code in Scala.

Usage

Run the main method in main.scala end enter the number of the day to generate input files, solution file and tests.

  1. Paste the example input to src/resources/DayX/input1-example.txt
  2. Paste the answer for example input to test method in src/test/DayX/PuzzleDayXTest.scala
  3. Implement the solution in src/main/scala/DayX/PuzzleDayX.scala until the test for example input is green.
  4. Run the test for real input to see the answer.
  5. Repeat for the second puzzle of the day.

About

Scala starter code for Advent Of Code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages