Skip to content

Releases: BruceMcRooster/aoc-2024

2024 Complete Version

26 Dec 14:24
Compare
Choose a tag to compare

2024 Compiled Advent Of Code Solvers

I had a ton of fun this year doing this. I would say I earned about 45 stars on my own and got some help from the wonderful people on Reddit for anything I got really stuck on or on days my brain just wasn't getting the problem. Thank you to Eric and the team for these wonderful coding challenges.

Why?

This release has compiled binaries for anyone interested in doing the 2024 Advent of Code challenges who wants something to check their answers with. I found that useful when playing around with the previous year's challenges when I got really lost. If you do get completely lost, you can, of course, look at my actual code (which isn't always the prettiest but should work).

Which one?

There are three builds. Two macOS versions differ in whether they generate the Christmas Tree on Day 14 as a bitmap and save it to your downloads folder. I recommend the one that saves the tree, but it's up to you (if you haven't gotten there and don't know what I'm talking about, get the tree). There is also a Linux version, which works in a Docker container, but I can't promise they will work for you. I don't have Linux, so I can't test it. Unfortunately, it does not have Christmas Tree-downloading capabilities because I didn't want to figure that out on Linux.
The executable assumes that your day's input is stored in a file at Sources/Data/DayXX.txt, as it would be if you used the Swift template I used.

Disclaimer

I also have never tried building Swift executables to run on other devices. I think I did everything right. Obviously, no guarantees, and some of my code might get the wrong answer (I can only test it on one full input).
Feel free to DM me on Twitter or Bluesky if I messed something up.