• 43031

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


Learning Opportunities

This puzzle can be solved using the following concepts. Practice using these concepts and improve your skills.


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.

A higher resolution is required to access the IDE


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