Digital Edge

Time for a Mini-Quiz!

The game's layout will change on every run. Write a program that gets you (blue) to the goal (green) for all possible layouts, watch out for holes and spikes (red). The available methods are look(), walk() and jump(). The look method returns one of the following strings: spike/hole/nothing/goal.

Pressing "RUN" will not commit any code. Getting to the goal will allow you to commit your code, but you can also choose to give up and commit an unfinished solution by checking the box below.

If you don't have the time to do this right now you can visit this page again on a later occasion. Your application will not be processed by us until you have entered your answer to this problem.

let l = look(); walk(); jump();