Day | Title | Part 1 | Part 2 | Code |
---|---|---|---|---|
01 | Trebuchet?! | 🌟 | 🌟 | |
02 | Cube Conundrum | 🌟 | 🌟 | |
03 | Gear Ratios | 🌟 | 🌟 | |
04 | Scratchcards | 🌟 | 🌟 | |
05 | If You Give A Seed A Fertilizer | 🌟 | 🌟 | |
06 | Wait For It | 🌟 | 🌟 | |
07 | Camel Cards | 🌟 | 🌟 | |
08 | Haunted Wasteland | 🌟 | 🌟* | |
09 | Mirage Maintenance | 🌟 | 🌟 | |
10 | Pipe Maze | 🌟 | 🌟* |
Day | Title | Part 1 | Part 2 | Code |
---|---|---|---|---|
01 | Calorie Counting | 🌟 | 🌟 | |
02 | Rock Paper Scissors | 🌟 | 🌟 | |
03 | Rucksack Reorganization | 🌟 | 🌟 | |
04 | Camp Cleanup | 🌟 | 🌟 | |
05 | Supply Stacks | 🌟 | 🌟 | |
06 | Tuning Trouble | 🌟 | 🌟 | |
07 | No Space Left On Device | 🌟 | 🌟 | |
08 | Treetop Tree House | 🌟 | 🌟 | |
09 | Rope Bridge | 🌟 | 🌟 | |
10 | Cathode-Ray Tube | 🌟 | 🌟 | |
11 | Monkey in the Middle | 🌟 | 🌟* | |
12 | Hill Climbing Algorithm | 🌟 | 🌟 | |
13 | Distress Signal | 🌟 | 🌟 | |
14 | Regolith Reservoir | 🌟 | 🌟 | |
15 | Beacon Exclusion Zone | 🌟 | 🌟* | |
16 | Proboscidea Volcanium | 🌟* | 🌟* | |
17 | Pyroclastic Flow | 🌟 | 🌟 | |
18 | Boiling Boulders | 🌟 | 🌟 | |
19 | Not Enough Minerals | 🌟* | 🌟 | |
20 | Grove Positioning System | 🌟 | 🌟 | |
21 | Monkey Math | 🌟 | 🌟 | |
22 | Monkey Map | 🌟 | 🌟 | |
23 | Unstable Diffusion | 🌟 | 🌟 | |
24 | Blizzard Basin | 🌟 | 🌟 | |
25 | Full of Hot Air | 🌟 | 🌟 |
Day | Title | Part 1 | Part 2 | Code |
---|---|---|---|---|
01 | Sonar Sweep | 🌟 | 🌟 | |
02 | Dive! | 🌟 | 🌟 | |
03 | Binary Diagnostic | 🌟 | 🌟 | |
04 | Giant Squid | 🌟 | 🌟 | |
05 | Hydrothermal Venture | 🌟 | 🌟 | |
06 | Lanternfish | 🌟 | 🌟* | |
07 | The Treachery of Whales | 🌟 | 🌟 | |
08 | Seven Segment Search | 🌟 | 🌟 | |
09 | Smoke Basin | 🌟 | 🌟 | |
10 | Syntax Scoring | 🌟 | 🌟 | |
11 | Dumbo Octopus | 🌟 | 🌟 |
*with some hints from Reddit 😇
-
Create a new class in the right package:
aoc.years.year<year>.Day<day>
:@Year2022 class Day25 : Day() { override fun solvePart1(input: List<String>): Any { return "" } override fun solvePart2(input: List<String>): Any { return "" } }
-
Store the input in
resources/year<year>/Day<day>.txt
-
Then you can run the
DayRunner
class with the year and day as arguments (or without any arguments to run every day):aoc.DayRunnerKt 2022 25