logoalt Hacker News

Elevator Saga: The elevator programming game (2015)

37 pointsby xmprtlast Sunday at 7:26 AM3 commentsview on HN

Comments

withinboredomtoday at 1:38 PM

This is a really great test for vibe coding. This isn't easy, but it took me several hours to pass. Vibe coding the results is ... not exactly faster. Reminding it to output logs (I'm just doing this in chat and manually copy/pasting the code), it getting hung up on 'the maximum wait time' exactly equaling the challenge, etc. Opus was able to generate a passing implementation up to level 7 on the first level but can't seem to pass level 12. Sonnet, had to iterate on every level up to level 5, and couldn't pass that level.

technothrashertoday at 1:26 PM

AKA the hard drive scheduling game. Takes me back to my first algorithms class in school thirty five years ago.

agentultratoday at 1:23 PM

Fun!

Reminds me that one of my favourite exercises in TLA+ is to design an elevator call system.