Ages 4–5

Story Coders

Every story is a set of steps — and every child can give the steps.

Through stories and floor-games, children learn sequences, loops, and if/then thinking with zero screens. They debug a tale, guide "Robot Camel" step by step, and discover that logic is just careful kindness in order.

👨‍👩‍👧 For parents: Your child learns to think like a problem-solver — putting steps in order, finding the "bug", and reasoning out loud — all through stories and games with no screens. This is the foundation of logic, coding, and confident thinking for a changing world.
STEM & LogicCognitiveLanguage AcquisitionUnplugged codingStorytellingPlay-basedInquiry-based

8 · 3 · 35weeks · sessions/week · min/session

📅 Session plan📝 Observation log🖨 Home cards🃏 Card decks

Learning objectives

  • Order a 4-step sequence (algorithm) to reach a goal. STEM & Logic · apply
  • Spot the "bug": find the one step that is out of place. Cognitive · analyze
  • Use a simple "if... then..." rule in a game. STEM & Logic · apply

Modules

Big idea: Clear steps make things happen.

🔬 Why this works: Unplugged computational thinking (CS Unplugged; Wing): sequencing, loops, and debugging are learned best through the body before any screen. "Running" the program on foot makes an abstract algorithm concrete and felt.

Doing things well (Itqan)Allah loves that when one of us does a task, he does it with excellence — careful steps are Itqan. (Authenticated by al-Bayhaqi)

Program the CamelUnplugged coding · 18m

A child is the "camel"; friends give arrow-card commands to reach the oasis.

▶ Show me how
  1. 🎯 Challenge Lay the arrow cards in order so the camel reaches the water. Then run the program — step on each square!
    Facilitator cue: Run it literally and let mistakes happen — the wrong step IS the lesson.
    Support: Start with just two cards and one square to move.
    Stretch: Add a loop: "do ↑ ↑ two times".
  2. 🔬 Experiment It went the wrong way! Which card do we fix? Let us debug together.
    Facilitator cue: Treat the bug as exciting, not wrong: "Ooh, let us find it!" — debugging is detective work.
    Support: Walk the program one card at a time until it goes wrong; the bug is there.
    Stretch: Predict where it will break before running it.
The Camel's LoopUnplugged coding · 16m

Children use a repeat ("loop") to program the camel with fewer cards.

▶ Show me how
  1. 🎯 Challenge Instead of ↑ ↑ ↑, can we say "↑ three times"? Build the loop.
    Facilitator cue: Run it literally; seeing the shortcut work is the lesson.
    Support: Start with "repeat 2 times" before anything longer.
    Stretch: Use a loop AND a turn in the same program.
  2. 🔬 Experiment The loop went too far! How many repeats did we need?
    Facilitator cue: Debug together — counting the squares is the fix.
    Support: Walk it one repeat at a time.
    Stretch: Predict the right number before you run it.

The Mixed-Up Story

🎮 Play it on screen

Big idea: Order changes meaning.

🔬 Why this works: Narrative sequencing builds logic and language together: ordering events strengthens causal reasoning ("because / so") and story grammar, which research links to later reading comprehension.

Fix the TaleStorytelling · 15m

Four story cards are out of order; children re-sequence them.

▶ Show me how
  1. Question Can the seed grow before it is planted? What must come first?
    Facilitator cue: Let them argue both ways before agreeing on the order; the reasoning matters more than the answer.
    Support: Act out two cards and ask "which happened first?"
    Stretch: Mix in a fifth card that does not belong and spot it.
  2. 🎨 Create Now tell the fixed story to a friend in your two languages.
    Facilitator cue: Welcome switching between languages; meaning leads, grammar follows.
    Support: Give the first words of each card: "First... then... after that..."
    Stretch: Tell it again with a different ending of their own.
Order the DayStorytelling · 14m

Children re-sequence the events of a day and explain the order.

▶ Show me how
  1. Question Can we sleep before we wake up? Put the day in order.
    Facilitator cue: Ask "what must come before this?" for each card.
    Support: Place the first card (wake) for them.
    Stretch: Add two more events in the right spots.
  2. 💬 Discuss Could two things swap places and still make sense?
    Facilitator cue: Some orders are fixed, some are free — let them discover which.
    Support: Try one swap and ask if it still works.
    Stretch: Tell the day’s story using "first, then, after that".

If... Then... Garden

🎮 Play it on screen

Big idea: Rules help me decide.

🔬 Why this works: Conditional ("if / then") logic is the heart of all programming and decision-making. Embodying it as a fast movement game builds the rule into procedural memory — the body learns the logic before the mind can name it.

Weather DancePlay-based · 12m

If the card shows rain, then hop; if sun, then stretch tall.

▶ Show me how
  1. 🏃 Movement Watch the card. IF rain, THEN hop like a raindrop!
    Facilitator cue: Speed up gradually — fast rounds reveal who has internalized the rule.
    Support: Practice each rule slowly once before the game speeds up.
    Stretch: Add a third rule: IF wind, THEN spin!
If-Then BeatsPlay-based · 14m

Children build a movement pattern from if/then rules and predict it.

▶ Show me how
  1. 🏃 Movement Clap for red, stomp for blue. Red, red, blue — what do we do?
    Facilitator cue: Speed up slowly; fast rounds reveal who has the rule.
    Support: Use just one rule before adding the second.
    Stretch: Add a third rule: spin if green.
  2. Question If the pattern keeps going, what move comes next?
    Facilitator cue: Ask for the "why" — the rule is the real answer.
    Support: Say the colour pattern aloud first.
    Stretch: Invent a rule pattern for the group to follow.

Why Do You Think So?

🎮 Play it on screen

Big idea: My reasons matter, and I can change my mind.

🔬 Why this works: Philosophy for Children (Lipman) + dialogic teaching (Alexander): a "community of inquiry" where children reason aloud, give evidence, and may disagree — the single best antidote to passive, rote minds.

The Story CourtSocratic dialogue · 18m

An open question about a story; children give reasons and may disagree.

▶ Show me how
  1. Question The ant kept all the food for winter and the grasshopper went hungry. Was the ant right? Why?
    Facilitator cue: There is no single right answer. Ask "why?" after every opinion. Never settle it for them.
    Support: Offer sentence starters: "I think... because..."
    Stretch: Argue the opposite of what you first felt — can you?
  2. 💬 Discuss Someone sees it differently. Can you tell us your reason — and can we listen?
    Facilitator cue: Protect the minority view; thank the child who dares to differ.
    Support: Have a listener repeat the reason back before replying.
    Stretch: Find one thing both views agree on.
  3. 🌙 Reflect Did anyone change their mind? Changing your mind for a good reason is brave, not weak.
    Facilitator cue: Praise mind-changing as courage, never as losing; model it yourself.
    Support: Ask "what did you hear that made you think again?"
    Stretch: Share a time you, the grown-up, changed your mind.
Walk in Their ShoesSocratic dialogue · 16m

Children name how a story character feels and reason about why.

▶ Show me how
  1. 🌙 Reflect How does the character feel here — and what makes you think so?
    Facilitator cue: Every feeling is allowed; ask for the clue in the story.
    Support: Offer two feeling words to choose between.
    Stretch: Might two characters feel differently about the same thing?
  2. 💬 Discuss What would help the character feel better? Give a reason.
    Facilitator cue: Praise the reasoning, not just the kindness.
    Support: Think of one kind action first.
    Stretch: Has anyone changed their mind hearing a friend?

Leadership we plant

  • 🌱 Gives a reason for an opinion.
  • 🌱 Disagrees respectfully and truly listens to others.
  • 🌱 Stays calm and patient while fixing a mistake.

Research foundations

Philosophy for Children (P4C) — Matthew Lipman
Children learn to reason by doing it together in a community of inquiry.
In practice: Open, answer-free questions about stories; reasons required, disagreement welcomed.
Unplugged Computational Thinking — Jeannette Wing / CS Unplugged
Sequencing, loops, and debugging can be learned through the body, with no screen.
In practice: Floor-grid "Robot Camel", story re-sequencing, and if/then movement games.

🏡 Try at home

Program the Grown-up · 10 min

Let your child give you step-by-step "commands" to make a sandwich or reach a toy. Follow them literally — the funny mistakes teach precise thinking and debugging.

Why Do You Think So? · 8 min

After a bedtime story, ask one open question with no right answer ("Was the character kind? Why?"). Listen for the reason, and let your child disagree with you.

Standards alignment

ISTE Standards for Students
Computational Thinker
Sequencing, decomposition, and debugging — taught unplugged.
NCTM — Early Mathematics
Patterns & algebraic thinking
Recognizing, extending, and reasoning about ordered patterns.
NAEYC — Developmentally Appropriate Practice
Cognitive development & approaches to learning
Inquiry, persistence, and problem solving through play.

Value anchors

  • Excellence (Itqan)
  • Patience while solving (Sabr)We encourage each other to patience — debugging needs a calm heart. (Surah Al-Asr 103:3)

Everything you’ll need (home or school)

  • Floor grid, arrow & story cards, weather cards
  • Floor grid mat, arrow cards (↑ ↓ ← →), oasis & palm props
  • Floor grid, arrow cards, a "repeat 2x" card
  • Daily-routine cards (wake, eat, school, sleep)
  • Rule cards (clap if red, stomp if blue)
  • A short story with a character facing a choice
🖨 Printable checklist

Assessment — portfolio

  • emerging: Follows a sequence with prompts.
  • developing: Builds and runs a 4-step plan.
  • confident: Finds and fixes a bug, explains why.

Future skills

Algorithmic thinkingComputational thinkingLogical reasoningProblem solving
Qubtan · قُبطان