Wicked7000 / aoc-2022

Solutions for AoC2022 in Kotlin!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AoC 2022 - In Kotlin!

This is a slightly modified version of the Advent of Code Kotlin Template created by JetBrains.

The main differences being in how files are organised and called, allowing for a single main file to run where you specify the day you'd like to execute. As I get further into AoC 2022 I'll likely start adding wrappers around the Day class for things like calculating the total runtime as that starts to get more interesting towards the end of AoC where problems become more complex.

Feel free to give suggestions on solutions you see here as I'm new to learning Kotlin and have likely missed out on some cool features!

Boilerplate creation

The below script will setup the class,package and input files for the day specified

./gradlew generateDay -Pday=?

where you replace the ? with the day you want to generate the boilerplate for.

Days Completed

Day Completed
1 ⭐⭐
2 ⭐⭐
3 ⭐⭐
4 ⭐⭐
5 ⭐⭐
6 ⭐⭐
7 ⭐⭐
8 ⭐⭐
9 ⭐⭐
10 ⭐⭐
11 ⭐⭐

About

Solutions for AoC2022 in Kotlin!

License:Apache License 2.0


Languages

Language:Kotlin 100.0%