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. (Only for you; nothing is saved.)
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?
Trek then says: “To greet 100 names, I'll copy-paste the greeting line 100 times.” — is that right?
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 then says: “A conditional decides the path all on its own, without reading any variable.” — is that right?
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?
Do the same thing to every item in a numbered list. Who?
Who do you bring in?
Choose a different path depending on whether the score is above 10. Who?
Who do you bring in?
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 →