Skip to content
AdamWorleyPublic

About

Advent of Code 2024 solutions in Ruby

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🎄 Advent of Code 2024 – Ruby Edition! 🎅

Welcome to my Advent of Code 2024 project, where the holiday spirit meets the elegance of Ruby programming! 🌟 Whether you're here for the festive fun or curious to see how I tackle these coding challenges, you're in the right place. Let's sleigh this!

🎁 What is Advent of Code?

Advent of Code is an annual set of programming puzzles that unlock one at a time from December 1st through December 25th. It's like an advent calendar, but instead of chocolates, we get brain-bending coding challenges! (Okay, I'd still take the chocolates too 🍫.)

🧑‍💻 About This Project

This repo is my collection of Ruby solutions for the Advent of Code 2024 challenges. Each day brings a new puzzle, and I'll be solving them using the simplicity, readability, and downright joy of Ruby. 🛠️✨

Why Ruby?

  • Ruby makes the mundane magical. 🌟
  • Writing elegant, human-readable code is half the fun!
  • Plus, puts "Merry Christmas!" is just too wholesome. 🎅

🚀 How It Works

Each day's puzzle has its own file and corresponding tests. Here's how the project is organized:

.
├── day1/
│   ├── part1.rb        # Solution for day 1 - part 1 
│   ├── part2.rb        # Solution for day 1 - part 2
│   └── example.txt     # Example input for Day 1
├── day2/
│   ├── ...
└── README.md           # You're reading it right now!

Running a Solution

Want to see some Ruby magic in action? Run a day's solution like this:

ruby day1/part1.rb
ruby day1/part2.rb

Running the Tests

We don't need tests where we're going...

Back to the future reference

🛷 Progress Tracker

Day Challenge Solution Notes
01 ✅ Solved 🟢 Done Took a bit to get used to ruby but so far so good
02 ✅ Solved 🟢 Done Part 2 definitely put up a fight
03 ✅ Solved 🟢 Done Always a gamble going for Regex but I think it paid off
04 ✅ Solved 🟢 Done
05 ✅ Solved 🟢 Done
06 ⌛ Locked 🔒 Locked N/A

...and so on, updated daily as we make our way to Christmas!

📜 License

Feel free to jingle all the way with this code. Just don’t forget to leave some cookies and milk in the form of attribution! 🍪🥛

🎅 Acknowledgments

Big thanks to:

  • Eric Wastl for creating Advent of Code.
  • Ruby, for being the gift that keeps on giving. 🎁
  • You, for stopping by and sharing this coding adventure!
  • ChatGPT* for providing this readme

*No code was harmed created using ChatGPT


Now, let’s ho-ho-hack our way to Christmas! 🌟

About

Advent of Code 2024 solutions in Ruby

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages