Lessons

Each lesson has a short explanation, something to try away from the screen, and a game challenge to practise.

1. Introduction to coding2. Giving instructions to a computer3. Variables4. Conditions5. Loops6. Functions7. Problem solving8. Debugging9. Simple game development10. Introduction to AI concepts
Lesson 1 · Ages 5+

Introduction to coding

Coding means giving a computer instructions in a language it understands. Computers are very fast but they only do exactly what they are told — nothing more, nothing less.

Try this (no screen needed)Be the robot: one person gives instructions to make a sandwich (or walk to the door) and the “robot” follows them exactly. What went wrong when an instruction was missing?
Interactive challengePlay Robot Rescue, level 1.
Lesson 2 · Ages 5+

Giving instructions to a computer

Instructions run in order, one after the other. This is called a sequence. If you swap two instructions, the result changes.

Try this (no screen needed)Draw a simple path on paper with squares. Write arrows (↑ → ↓ ←) to get from start to finish, then swap with a friend to test.
Interactive challengePlay Robot Rescue, level 2.
Lesson 3 · Ages 9+

Variables

A variable is a named box that stores a value, like score = 10 or speed = 3. When the value changes, everything that uses it changes too.

Try this (no screen needed)Label a cup “score”. Each time someone answers a question, add a counter to the cup. The label stays the same; the value inside changes.
Interactive challengePlay Space Explorer, level 1.
Lesson 4 · Ages 7+

Conditions

A condition is a question with a yes/no answer. IF it is raining THEN take an umbrella ELSE wear a hat. Programs use conditions to make decisions.

Try this (no screen needed)Play “If–then” Simon Says: “IF you are wearing blue THEN stand up”. Then add ELSE: “ELSE clap your hands”.
Interactive challengePlay Treasure Hunter, level 1.
Lesson 5 · Ages 6+

Loops

A loop repeats instructions. Instead of writing “step” ten times, you write “repeat 10 times: step”. Loops make programs shorter and easier to change.

Try this (no screen needed)Make up a dance with a move that repeats. Write it as “repeat 4: clap, jump, spin”. Perform it!
Interactive challengePlay Loop the Maze, level 1.
Lesson 6 · Ages 9+

Functions

A function is a named group of instructions you can use again and again. Define it once (“brushTeeth”) and call it whenever you need it.

Try this (no screen needed)Write the steps for your morning routine. Circle a group of steps and give it a name. Now your routine can just say that name.
Interactive challengePlay Code the Rocket, level 1.
Lesson 7 · Ages 7+

Problem solving

Programmers break big problems into small steps, look for patterns, and test their ideas. This is called computational thinking.

Try this (no screen needed)Plan a party: break it into small jobs (invitations, food, games) and then into even smaller steps. Which steps repeat?
Interactive challengePlay Number Wizard, level 1.
Lesson 8 · Ages 7+

Debugging

A bug is a mistake in a program. Debugging means running the program, watching carefully where it goes wrong, and fixing that exact step. Every programmer debugs every day!

Try this (no screen needed)Write instructions to draw a house, but include one deliberate mistake. Ask someone to follow them and find the bug.
Interactive challengePlay Bug Detective, level 1.
Lesson 9 · Ages 8+

Simple game development

Games are built from rules triggered by events: WHEN a key is pressed THEN move; WHEN the player touches a coin THEN add a point. Designers mix simple rules to make fun challenges.

Try this (no screen needed)Invent a playground game. Write its rules as WHEN … THEN … sentences. What rule makes it a challenge?
Interactive challengePlay Mini Game Builder, level 1.
Lesson 10 · Ages 10+

Introduction to AI concepts

Artificial intelligence lets computers learn patterns from examples instead of being given every rule. The examples (data) matter: if they are one-sided, the AI learns the wrong thing. AI can be wrong, so people should always check its answers.

Try this (no screen needed)Sort a pile of toys or cards into two groups without telling anyone the rule. Can others guess your rule from the examples? What if you only showed a few?
Interactive challengePlay AI Pattern Detective, level 1.