Cub quest · reward 20 XP
if returns a value.
Egg hatching · 0%
Finish every step to hatch your monster!
Step 1 / 5
if returns a value. 🔍 Why it matters: Games use this to remember your score, your lives and your level.
val y = if (x>0) 1 else 0
Tip: press Enter to continue