← Lessons PP 4-6 👾 Memory Boxes Lesson 53
👾 🎮 🪙 ❤️
🎮 Universe
Game Dev Lab
Welcome to the ARCADE WORKSHOP! Every game remembers things — the SCORE, the LIVES, the LEVEL. But how does a game REMEMBER? With VARIABLES — named boxes that hold a value! Today you learn to fill them, change them, and design your own game!

📦 What is a Variable?

A variable is a named box that holds one value! The box has a NAME (like "Score") and inside it keeps a VALUE (like 50). A game uses variables to remember your score, your lives, and your level. The cool part? You can CHANGE what's inside any time — the old value pops out and the new one goes in! 🎮

🔗 You already learned to make a PLAN (Algorithms), SPOT patterns, HIDE details, and BREAK big tasks into parts. Now learn the FIFTH superpower — how a program REMEMBERS things! That's Variables — the memory of all code! 📦
CHALLENGE 1 of 4
The arcade hero needs stats! Tap a box to open it, then tap a number to store it inside. Fill SCORE with 50 and LIVES with 3!
🪙 SCORE
❤️ LIVES
🏆 LV
👾
Fill the boxes to power up the hero!
📦 Memory Boxes — tap a box to open it
🔢 Value Chips — tap a number to drop it in the open box
👆 Open a box, then tap a number to store it inside!

🌟 What you learned

🎮 Next time: A NEW coding adventure awaits at Code Explorer! Come back tomorrow — your hero is leveling up! ✨
👾

Memory Boxes!

The arcade hero needs to REMEMBER its score, lives, and level! But how does a game remember? With VARIABLES — named boxes that hold a value! Learn to store values, change them, and design your own game stats!

📦Fill memory boxes with numbers!
🔄Change what's inside a box!
🏷️Match the right value to the right name!
🎮Design your own game stats!