• 13287

What will I learn?


In this puzzle, you need to compare different values. You have to correlate character variables and integer variables.

A straightforward solution uses 8 conditions. There is a way to simplify it and use only 4 conditions.

External resources



A basic problem to go a little bit further with conditions and variables: your program must allow Thor to reach the coordinates of the light of power in a 2D field.

Solve it

A higher resolution is required to access the IDE


Thor's hammer, Mjöllnir, has lost all of its powers... Will you be able to guide Thor towards the light of power to make the hammer whole again?

Online Participants