Lesson 5 of 6
The full adventure
We mix it all: two boxes, a loop and an "if"! The hero walks steps times 👣, and "if the energy is big enough" it finds a treasure 💎.
Put 4 in the steps box and 5 in the energy box.
🎯 Your mission
Put 4 in steps and 5 in energy. The hero must take four 👣 then find the 💎.
PRO lesson
This advanced chapter is part of CodeAge PRO. Unlock it to keep your adventure going.
Discover PRO →