EXAPUNKS

EXAPUNKS

View Stats:
What's the deal with 'leave no trace'?
In the first tutorial it explains that in order to leave no trace you need to terminate all exa's.
However if you do terminate them, you see in the histogram that you did not achieve the shortest solution.
So... you remove the HALT and - presto! now you have the shortest solution. (which happens to contradict the 'leave no trace' requirement, but is still accepted by the game).

So - what's the deal?
< >
Showing 1-3 of 3 comments
the HALT command forces an EXA to terminate at that point but, if an EXA runs out of instructions it will also be terminated, so no need to use HALT as the last instruction.
What @Reaper said. Your EXA's still terminate (if you do step by step all the way, you can observe this).

Using HALT almost always means you can optimize your code.

In fact, in the context of this game, I would say that
DROP
HALT
is an antipattern.

Zachtronics games do not quite promote good coding practices at all times...
Thank you both
< >
Showing 1-3 of 3 comments
Per page: 1530 50