https://github.com/amaurycarrade/adventofcode2020
My solutions for Advent of Code, 2020 Edition, in Scala this year.
https://github.com/amaurycarrade/adventofcode2020
advent-of-code advent-of-code-2020
Last synced: about 1 month ago
JSON representation
My solutions for Advent of Code, 2020 Edition, in Scala this year.
- Host: GitHub
- URL: https://github.com/amaurycarrade/adventofcode2020
- Owner: AmauryCarrade
- License: other
- Created: 2020-12-02T18:34:30.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-12-12T13:17:37.000Z (over 4 years ago)
- Last Synced: 2025-01-30T18:38:39.069Z (3 months ago)
- Topics: advent-of-code, advent-of-code-2020
- Language: Scala
- Homepage:
- Size: 63.5 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Advent of Code 2020
My solutions to Advent of Code 2020, this year in Scala (2.13.4), built with sbt (1.4.4).
- [_All days for this edition_](https://github.com/AmauryCarrade/AdventOfCode2020/tree/master/src/main/scala/adventofcode/days)
- [_2019 participation (Rust)_](https://github.com/AmauryCarrade/AdventOfCode2019)These solutions are published under the CeCILL-B license (BSD-like in French law).
## How to run
Open the sbt shell with `sbt` and run:
```
> day 1
```where `1` is the day you want.
## How to solve
To add a new solution, create a class named `Day01` (where `01` is the day, of course) following this template.
```scala
package adventofcode.daysimport adventofcode.Day
object Day01 extends Day(1) {
override def firstSolution = ???
override def secondSolution = ???
}
```## Thanks
Thanks to F. Cassayre for [inspiration on this project structure](https://github.com/FlorianCassayre/AdventOfCode-2019).