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 - 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 |
🌟🌟 |