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

https://github.com/emre-one/advent-of-code-2024

My Kotlin implementations of Advent-of-Code-2024 puzzles
https://github.com/emre-one/advent-of-code-2024

advent-of-code advent-of-code-2024 advent-of-code-2024-kotlin aoc aoc-2024 aoc-2024-in-kotlin kotlin

Last synced: 15 days ago
JSON representation

My Kotlin implementations of Advent-of-Code-2024 puzzles

Awesome Lists containing this project

README

        

![Kotlin](https://img.shields.io/badge/Kotlin-grey?logo=Kotlin&style=for-the-badge)
![](https://img.shields.io/badge/📅%20days-25-005060?style=for-the-badge)
![](https://img.shields.io/badge/⭐%20stars-50-005060?style=for-the-badge)

# Advent-of-Code 2024

## Intro

You can find here my [Advent-of-Code 2024](https://adventofcode.com/2024) puzzle solutions written in Kotlin.

## Scripts

To prepare Boilerplate code for the next day, just execute the following gradle task with the day number
```bash
gradle prepareNextDay -Pday=1
```

To generate the aoc_tiles, navigate to the aoc_tiles dir, activate python venv and the run the python script:
```bash
cd aoc_tiles
./venv/Scripts/activate.ps1

python ./create_tiles.py
```

## Solutions

| Day | Test | Solution | Tile |
|-----------------------------------------------|-----------------------------------------------------------------------------|---------------------------------------------------------------------|------------------------------------|
| [Day 01](https://adventofcode.com/2024/day/1) | [Day01Test.kt](./src/test/kotlin/tr/emreone/adventofcode/days/Day01Test.kt) | [Day01.kt](./src/main/kotlin/tr/emreone/adventofcode/days/Day01.kt) | ![Day 01](./aoc_tiles/2024/01.png) |
| [Day 02](https://adventofcode.com/2024/day/2) | [Day02Test.kt](./src/test/kotlin/tr/emreone/adventofcode/days/Day02Test.kt) | [Day02.kt](./src/main/kotlin/tr/emreone/adventofcode/days/Day02.kt) | ![Day 02](./aoc_tiles/2024/02.png) |
| [Day 03](https://adventofcode.com/2024/day/3) | [Day03Test.kt](./src/test/kotlin/tr/emreone/adventofcode/days/Day03Test.kt) | [Day03.kt](./src/main/kotlin/tr/emreone/adventofcode/days/Day03.kt) | ![Day 03](./aoc_tiles/2024/03.png) |
| [Day 04](https://adventofcode.com/2024/day/4) | [Day04Test.kt](./src/test/kotlin/tr/emreone/adventofcode/days/Day04Test.kt) | [Day04.kt](./src/main/kotlin/tr/emreone/adventofcode/days/Day04.kt) | ![Day 04](./aoc_tiles/2024/04.png) |
| [Day 05](https://adventofcode.com/2024/day/5) | [Day05Test.kt](./src/test/kotlin/tr/emreone/adventofcode/days/Day05Test.kt) | [Day05.kt](./src/main/kotlin/tr/emreone/adventofcode/days/Day05.kt) | ![Day 05](./aoc_tiles/2024/05.png) |
| [Day 06](https://adventofcode.com/2024/day/6) | [Day06Test.kt](./src/test/kotlin/tr/emreone/adventofcode/days/Day06Test.kt) | [Day06.kt](./src/main/kotlin/tr/emreone/adventofcode/days/Day06.kt) | ![Day 06](./aoc_tiles/2024/06.png) |
| [Day 07](https://adventofcode.com/2024/day/7) | [Day07Test.kt](./src/test/kotlin/tr/emreone/adventofcode/days/Day07Test.kt) | [Day07.kt](./src/main/kotlin/tr/emreone/adventofcode/days/Day07.kt) | ![Day 07](./aoc_tiles/2024/07.png) |
| [Day 08](https://adventofcode.com/2024/day/8) | [Day08Test.kt](./src/test/kotlin/tr/emreone/adventofcode/days/Day08Test.kt) | [Day08.kt](./src/main/kotlin/tr/emreone/adventofcode/days/Day08.kt) | ![Day 08](./aoc_tiles/2024/08.png) |
| [Day 09](https://adventofcode.com/2024/day/9) | [Day09Test.kt](./src/test/kotlin/tr/emreone/adventofcode/days/Day09Test.kt) | [Day09.kt](./src/main/kotlin/tr/emreone/adventofcode/days/Day09.kt) | ![Day 09](./aoc_tiles/2024/09.png) |
| [Day 10](https://adventofcode.com/2024/day/10) | [Day10Test.kt](./src/test/kotlin/tr/emreone/adventofcode/days/Day10Test.kt) | [Day10.kt](./src/main/kotlin/tr/emreone/adventofcode/days/Day10.kt) | ![Day 10](./aoc_tiles/2024/10.png) |
| [Day 11](https://adventofcode.com/2024/day/11) | [Day11Test.kt](./src/test/kotlin/tr/emreone/adventofcode/days/Day11Test.kt) | [Day11.kt](./src/main/kotlin/tr/emreone/adventofcode/days/Day11.kt) | ![Day 11](./aoc_tiles/2024/11.png) |
| [Day 12](https://adventofcode.com/2024/day/12) | [Day12Test.kt](./src/test/kotlin/tr/emreone/adventofcode/days/Day12Test.kt) | [Day12.kt](./src/main/kotlin/tr/emreone/adventofcode/days/Day12.kt) | ![Day 12](./aoc_tiles/2024/12.png) |
| [Day 13](https://adventofcode.com/2024/day/13) | [Day13Test.kt](./src/test/kotlin/tr/emreone/adventofcode/days/Day13Test.kt) | [Day13.kt](./src/main/kotlin/tr/emreone/adventofcode/days/Day13.kt) | ![Day 13](./aoc_tiles/2024/13.png) |
| [Day 14](https://adventofcode.com/2024/day/14) | [Day14Test.kt](./src/test/kotlin/tr/emreone/adventofcode/days/Day14Test.kt) | [Day14.kt](./src/main/kotlin/tr/emreone/adventofcode/days/Day14.kt) | ![Day 14](./aoc_tiles/2024/14.png) |
| [Day 15](https://adventofcode.com/2024/day/15) | [Day15Test.kt](./src/test/kotlin/tr/emreone/adventofcode/days/Day15Test.kt) | [Day15.kt](./src/main/kotlin/tr/emreone/adventofcode/days/Day15.kt) | ![Day 15](./aoc_tiles/2024/15.png) |
| [Day 16](https://adventofcode.com/2024/day/16) | [Day16Test.kt](./src/test/kotlin/tr/emreone/adventofcode/days/Day16Test.kt) | [Day16.kt](./src/main/kotlin/tr/emreone/adventofcode/days/Day16.kt) | ![Day 16](./aoc_tiles/2024/16.png) |
| [Day 17](https://adventofcode.com/2024/day/17) | [Day17Test.kt](./src/test/kotlin/tr/emreone/adventofcode/days/Day17Test.kt) | [Day17.kt](./src/main/kotlin/tr/emreone/adventofcode/days/Day17.kt) | ![Day 17](./aoc_tiles/2024/17.png) |
| [Day 18](https://adventofcode.com/2024/day/18) | [Day18Test.kt](./src/test/kotlin/tr/emreone/adventofcode/days/Day18Test.kt) | [Day18.kt](./src/main/kotlin/tr/emreone/adventofcode/days/Day18.kt) | ![Day 18](./aoc_tiles/2024/18.png) |
| [Day 19](https://adventofcode.com/2024/day/19) | [Day19Test.kt](./src/test/kotlin/tr/emreone/adventofcode/days/Day19Test.kt) | [Day19.kt](./src/main/kotlin/tr/emreone/adventofcode/days/Day19.kt) | ![Day 19](./aoc_tiles/2024/19.png) |
| [Day 20](https://adventofcode.com/2024/day/20) | [Day20Test.kt](./src/test/kotlin/tr/emreone/adventofcode/days/Day20Test.kt) | [Day20.kt](./src/main/kotlin/tr/emreone/adventofcode/days/Day20.kt) | ![Day 20](./aoc_tiles/2024/20.png) |
| [Day 21](https://adventofcode.com/2024/day/21) | [Day21Test.kt](./src/test/kotlin/tr/emreone/adventofcode/days/Day21Test.kt) | [Day21.kt](./src/main/kotlin/tr/emreone/adventofcode/days/Day21.kt) | ![Day 21](./aoc_tiles/2024/21.png) |
| [Day 22](https://adventofcode.com/2024/day/22) | [Day22Test.kt](./src/test/kotlin/tr/emreone/adventofcode/days/Day22Test.kt) | [Day22.kt](./src/main/kotlin/tr/emreone/adventofcode/days/Day22.kt) | ![Day 22](./aoc_tiles/2024/22.png) |
| [Day 23](https://adventofcode.com/2024/day/23) | [Day23Test.kt](./src/test/kotlin/tr/emreone/adventofcode/days/Day23Test.kt) | [Day23.kt](./src/main/kotlin/tr/emreone/adventofcode/days/Day23.kt) | ![Day 23](./aoc_tiles/2024/23.png) |
| [Day 24](https://adventofcode.com/2024/day/24) | [Day24Test.kt](./src/test/kotlin/tr/emreone/adventofcode/days/Day24Test.kt) | [Day24.kt](./src/main/kotlin/tr/emreone/adventofcode/days/Day24.kt) | ![Day 24](./aoc_tiles/2024/24.png) |
| [Day 25](https://adventofcode.com/2024/day/25) | [Day25Test.kt](./src/test/kotlin/tr/emreone/adventofcode/days/Day25Test.kt) | [Day25.kt](./src/main/kotlin/tr/emreone/adventofcode/days/Day25.kt) | ![Day 25](./aoc_tiles/2024/25.png) |

---

** The AoC Tiles are created with an adjusted python script from [LiquidFun](https://github.com/LiquidFun/adventofcode/tree/main/AoCTiles)