amaalali / advent-of-code-template-scala

Template for advent of code using Scala and scala-cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advent of Code 2020

This repo contains my solutions to the 2020 Advent of Code.

The challenges are solved in Scala and uses scala-cli.

Setup

Tooling

How to start a new day

Run the command below, substituting the day number where indicated.

./newday.sc -- <day of the month>

Running tests

Run test for each day using

scala-cli test dayXX

Running code for a day

Run each day using

scala-cli run dayXX --main-class Main

About

Template for advent of code using Scala and scala-cli


Languages

Language:Scala 100.0%