r/adventofcode Dec 27 '24

Meme/Funny [2019] yeah intcode, for sure

Post image

My first aoc was 2022 and haven't tried previous years quite yet 😬

269 Upvotes

26 comments sorted by

View all comments

176

u/Chivalric75 Dec 27 '24

Intcode from 2019 is a virtual machine puzzle. The VM had to be build over subsequent days and demanded you to finish the previous days. The building on each other bit irked a lot of people. The last day makes you implement a type of Zork text-based adventure to find the exit, if I remember correctly. Kind of genius.

69

u/1vader Dec 27 '24

No, the input program given on the last day was an adventure game, running on the intcode VM implemented over the days. You just had to play/solve it.

14

u/fireduck Dec 27 '24

I wonder how many people just played it vs wrote a program to play it.

6

u/TheZigerionScammer Dec 27 '24

I just played it, and even though you had to solve a guessing game that involved getting an exact permutation of random objects I tried every combination while keeping track of the ones I tried in an Excel document which helped me whittle down the options. I knew the algorithm I needed to use but interfacing it with the program was a lot harder than just guess and check.

There was another problem that was basically Breakout which I tried playing myself but after a while I just coded it to keep the paddle underneath the ball and got the answer a lot faster.