this post was submitted on 22 Jun 2025
1 points (100.0% liked)
Papertronics
51 readers
1 users here now
Sudoku for the digital age. A community to come up with and solve together Zacktronics-like games that can be solved only with a pen and a piece of paper (Zachtronics-like games are engineering-oriented puzzle video games and programming games).
founded 1 month ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
If I understand your output correctly, you missed the two steps with the IF statements. Or rather, I wrongly wrote it directly after the IFs, since the instruction stated "the next line"
So here is the revised version:
MOVE
MOVE
MOVE
LEFT
IF FLOWER:
RIGHT
RIGHT
RIGHT
IF FLOWER:
lEFT
LEFT
MOVE -> should have reached the goal
Also, shouldn't they have collected the gems when walking over them?
You are right. My bad. Congratulations :)
Here the correct walk-through:
MOVE: MOVE: MOVE:
LEFT:
IF FLOWER: RIGHT
RIGHT
RIGHT
IF FLOWER: LEFT
LEFT
MOVE