Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/stewsquared/advent-of-code

https://adventofcode.com/
https://github.com/stewsquared/advent-of-code

advent-of-code scala

Last synced: about 1 month ago
JSON representation

https://adventofcode.com/

Awesome Lists containing this project

README

        

# Advent of Code Solutions

My Solutions to [Advent of Code](https://adventofcode.com), written in Scala 3

## Links
- 📊 I have a [leaderboard](https://adventofcode.com/2023/leaderboard/private/view/1567548)! Code to join is `1567548-37bb9c26`
- 🔴 I live stream solutions on [Twitch](https://twitch.tv/stewSquared) and [YouTube](https://youtube.com/@stewSquared).
- 💬 Comments and questions? Come chat in [Discord](https://discord.gg/SgZemzbHPa).

## Advent of Code 2023

[Solutions and Breakdown](src/main/scala/2023/)

[Live Recordings Playlist](https://www.youtube.com/playlist?list=PLnP_dObOt-rWnSqOUQDc5T_r9TMdaNxJl)

Sources:
| | | | | |
|---|---|---|---|---|
|[01](src/main/scala/2023/Day01.worksheet.sc)|[02](src/main/scala/2023/Day02.worksheet.sc)|[03](src/main/scala/2023/Day03.worksheet.sc)|[04](src/main/scala/2023/Day04.worksheet.sc)|[05](src/main/scala/2023/Day05.worksheet.sc)|
|[06](src/main/scala/2023/Day06.worksheet.sc)|[07](src/main/scala/2023/Day07.worksheet.sc)|[08](src/main/scala/2023/Day08.worksheet.sc)|[09](src/main/scala/2023/Day09.worksheet.sc)|[10](src/main/scala/2023/Day10.worksheet.sc)|
|[11](src/main/scala/2023/Day11.worksheet.sc)|[12](src/main/scala/2023/Day12.worksheet.sc)|[13](src/main/scala/2023/Day13.worksheet.sc)|[14](src/main/scala/2023/Day14.worksheet.sc)|[15](src/main/scala/2023/Day15.worksheet.sc)|
|[16](src/main/scala/2023/Day16.worksheet.sc)|[17](src/main/scala/2023/Day17.worksheet.sc)|[18](src/main/scala/2023/Day18.worksheet.sc)|[19](src/main/scala/2023/Day19.worksheet.sc)|[20](src/main/scala/2023/Day20.worksheet.sc)|
|[21](src/main/scala/2023/Day21.worksheet.sc)|[22](src/main/scala/2023/Day22.worksheet.sc)|[23](src/main/scala/2023/Day23.worksheet.sc)|[24](src/main/scala/2023/Day24.worksheet.sc)|[25](src/main/scala/2023/Day25.worksheet.sc)|

## Usage

Solutions are in Scala 3 worksheet files. To run these, files need to be opened in an editor running [Metals](https://scalameta.org/metals/). Intellij *might* also work, but I haven't used its worksheets.

Input files are not distributed, as per the AoC creator's request. A [script](input.sh) is included that will save your problem input to the appropriate path. To use it, you will need your advent of code session key:

```bash
AOC_SESSION=
source ./input.sh
aoc-input
```

## Videos

Starting 2023 these solutions are live streamed on [YouTube](https://youtube.com/@stewSquared) and [Twitch](https://twitch.tv/stewSquared). VODs will be available long-term on YouTube. Check out [this playlist](https://www.youtube.com/playlist?list=PLnP_dObOt-rWnSqOUQDc5T_r9TMdaNxJl) for all 2023 videos. If you found code in this repository interesting, consider following me on either of these platforms.