CodeRealm ✕
◆ CodeRealm Learn 🎓 Teach 🗺️ Adventure 🤝 Together 🔁 Review ⋯ More 🧭 My Journey Teach the Cast Some of CodeRealm’s cast are still learning. When you teach them, YOU learn it best — catch what they get wrong, then quiz them.
✕ Teach Order You be the teacher — Order is still learning. Helping Order figure it out is the practice. (Order's progress stays on this device; nothing is sent anywhere.)
🎓 In a minute you'll be the teacher. Get ready to teach Order: sequence.
The computer runs your steps top to bottom, exactly in the order you wrote them. It doesn't guess what you meant, so changing the order can change where Bit ends up.
Teach the connections
Show how the coding ideas connect You've helped them one at a time. The real understanding is how the ideas CONNECT — teach that next.
Trek (loop — keep repeating an action until the work is done) × Row (list — many values lined up in a numbered row)
You have a list of 100 names and want to greet each one. Why do Trek and Row work together?
Row holds the 100 names; Trek loops over them, greeting each in turn — one loop for the whole list You must write 100 separate greeting lines; loops and lists never combine A loop replaces the list, so you do not need Row
Trek then says: “To greet 100 names, I'll copy-paste the greeting line 100 times.” — is that right?
No — put the names in Row's list and let Trek's loop greet each one; that is what they are for Right, copy-paste 100 times
The link: a list holds the data, a loop walks it — Row and Trek are made for each other.
Line them up in a list, then loop the list.
Stash (variable — a labeled box that holds a value) × Fork (conditional — chooses a path based on what is true right now)
Your code shows a win screen only if the score is high enough. How do Stash and Fork team up?
Stash holds the score; Fork tests that value (score > 10) to decide whether to show the win screen Fork picks a path at random, ignoring any variable Variables and conditionals never interact
Stash then says: “A conditional decides the path all on its own, without reading any variable.” — is that right?
No — Fork branches on a value it reads from Stash; the variable is what the condition tests Right, it needs no variable
The link: a conditional is a question about a variable — Fork reads what Stash holds.
Store the value, then branch on it.
Capstone — build one small program together Three pillars of code, one program. Bring in the cast member for each.
Store the player's score in a labeled box to use later. Who?
Who do you bring in?
Stash — the variable Trek — the loop Port — input and output
Do the same thing to every item in a numbered list. Who?
Who do you bring in?
Trek — the loop Fork — the conditional Order — sequence and syntax
Choose a different path depending on whether the score is above 10. Who?
Who do you bring in?
Fork — the conditional Stash — the variable Shuffle — randomness
The synthesis: a box to remember, a loop to repeat, and a branch to decide — the three pillars almost every program stands on.
Store, repeat, decide — the bones of a program.
Try it in the code builder →
Reading Access Make reading comfier. Saved on this device only — nothing leaves your device.
Line spacing Normal Roomy Roomiest
Letter & word spacing Normal Wide Widest
Font Default OpenDyslexic Book
Reading tools Reading ruler Focus mode Read aloud Bigger tiles
Motion & sound No motion Sound off
Game look Usual Bigger and calmer
Same ideas with a younger band's look: bigger type and buttons, a rounder font, slower motion. For any child who wants it.
Heavy features Auto Full Lighter
Auto picks for this device. Lighter uses smaller downloads. Nothing is turned off.
Reset to defaults