This repo contains my solutions to the Advent of Code challenges, written in the Ruby programming language.
The project is compose of two main parts:
- A library, located in the
lib/
directory, containing the code for the solutions. - A set of tests, located in the
test/
directory, containing the tests for the solutions.
Tests are written using the minitest framework.
To run the tests, simply run the following command:
bundle install
SKIP_SLOW_TESTS=1 bundle exec rake test
Advent of Code - 2024
Day | Solution | Rank |
---|---|---|
1οΈβ£ Historian Hysteria | lib/puzzles/2024/day01 |
ππ |
2οΈβ£ Red-Nosed Reports | lib/puzzles/2024/day01 |
ππ |
Advent of Code - 2023
Day | Solution | Rank |
---|---|---|
1οΈβ£ Trebuchet?! | lib/puzzles/2023/day01 |
ππ |
2οΈβ£ Cube Conundrum | lib/puzzles/2023/day02 |
ππ |
3οΈβ£ Gear Ratios | lib/puzzles/2023/day03 |
ππ |
4οΈβ£ Scratchcards | lib/puzzles/2023/day04 |
ππ |
5οΈβ£ If You Give A Seed A Fertilizer | lib/puzzles/2023/day05 |
ππ |
6οΈβ£ Wait For It | lib/puzzles/2023/day06 |
ππ |
7οΈβ£ Camel Cards | lib/puzzles/2023/day07 |
ππ |
8οΈβ£ Haunted Wasteland | lib/puzzles/2023/day08 |
ππ |
9οΈβ£ Mirage Maintenance | lib/puzzles/2023/day09 |
ππ |
1οΈβ£0οΈβ£ The Great Escape | lib/puzzles/2023/day10 |
ππ |
1οΈβ£1οΈβ£ Cosmic Expansion | lib/puzzles/2023/day11 |
ππ |