Came across <https://challenge.synacor.com/> - Mad...
# advent-of-code
r
Came across https://challenge.synacor.com/ - Made by Eric
👀 2
🆒 2
p
Uh interesting! How far did you get? Mine always fails with that registry logic: https://github.com/PaulWoitaschek/SynacorChallenge/blob/main/src/main/kotlin/de/woitaschek/synacorchallenge/challenge.kt
Copy code
Welcome to the Synacor Challenge!
Please record your progress by putting codes like
this one into the challenge website: yfJPYSkhjVuM

Executing self-test...

no set op
So something with the set seems to break
j
@Paul Woitaschek it tells you that your "set" operation is not implemented correctly. To be specific, in your
registers[a()] = b()
the
a()
returns your register value, not index
r
Paul - Didn't get time to solve. I was planning to look at it somewhere around later week. You are fast!
p
Thanks @Jan Durovec. Finished my VM now 🙂
j
Great. I was stuck on getting code 7 most of the day. However, I've got it now so I wonder if getting the last one (tomorrow?) will be also that hard.
p
Why code 7? Isn’t that one of the more trivial ones?
To me that
not
one was the most hard to understand one, I’m not good at these bitmasks stuff
Ah lol you mean secret code 7 not op Code? 😁
j
Yes I meant the secret code 7 :)
8/8 💪
e
FYI for anybody arriving at this thread by searching for "synacor": the domain is now dead blob scream you can find some backups elsewhere, for example https://github.com/Aneurysm9/vm_challenge
p