GynvaelEN - Mission 14 - Solution

Stream: https://www.youtube.com/watch?v=rhsH-snYkIc
Mission link: https://goo.gl/oUg99i

Damn it, how will I ever get out of this labyrinth?
― Simón Bolívar

This mission in comparison to the previous one was an easy one. This was a PPC category (programming).

In this one we're give a log file and the application that produced it. So our task is to retrieve the initial map.

So we write our script based on what we see in the log and what we know from analyzing the application - the only thing that might be a bit more difficult is that the maze is traversed recursively so we need to have the same approach in our script. I've decided to use a stack to store the visited location and then when we go back pop it up from the stack.

And basically that's all!

After running the script we retrieve the map (just needed to manually set the map limits):