Solutions for the AoC 2021 puzzles, written in Kotlin.
To run any specific day, with your puzzle input, simply run:
./gradlew run -Dday={day number} -DsessionCookie={session cookie}
where {day number}
is the day and {session cookie}
is your AoC session cookie value.
To run all the solutions with the example test data, run:
./gradlew run test
Day | Title | Solution |
---|---|---|
1 | 📡 Sonar Sweep | Day01.kt ⭐⭐ |
2 | 🤿 Dive! | Day02.kt ⭐⭐ |
3 | 🩺 Binary Diagnostic | Day03.kt ⭐⭐ |
4 | 🦑 Giant Squid | Day04.kt ⭐⭐ |
5 | ♨ Hydrothermal Venture | Day05.kt ⭐⭐ |
7 | 🐟 Lanternfish | Day06.kt ⭐⭐ |
7 | 🐳 The Treachery of Whales | Day07.kt ⭐⭐ |
8 | 7️⃣ Seven Segment Search | Day08.kt ⭐⭐ |
9 | 💨 Smoke Basin | Day09.kt ⭐⭐ |