Unplugged coding activities: 10 screen-free games for kids
10 unplugged coding activities for children aged 6+: sequences, loops, conditions, variables, sorting and debugging with paper, tape and cards.
Updated:

You don't have to start teaching coding at a screen. The key ideas, algorithm, sequence, loop, condition and variable, can all be shown with paper, masking tape and a few toys. This approach is called unplugged computing. The best-known collection of such activities, CS Unplugged, comes from the University of Canterbury in New Zealand and is free to use.
Why go screen-free?
At a screen, children often tap until something works. In an unplugged game they have to think first, because a real person carries out each step: a parent, a friend or the child. Mistakes are visible straight away. The robot-parent walks into a wall, the sandwich ends with jam all over the table.
The second reason is practical. Unplugged games work in any classroom, at break time, in a waiting room or on holiday. All you need is paper and a pencil.
Ideas you will practise
- Algorithms and sequence: instructions carried out in order, from start to finish.
- Loops: the same part repeated several times.
- Conditions: a YES/NO question that decides the next step.
- Variables: a named box where the program remembers something.
- Sorting and searching: comparing pairs, putting things in order, halving the pile when searching.
- Debugging: finding where the program did something other than what we wanted.
10 unplugged coding activities
1. Robot parent
The adult is a robot that only understands “step forward”, “turn left”, “turn right” and “pick up”. The child has to guide the robot to a mug on the table and make it pick the mug up. The robot follows the instructions literally, including the wrong ones. Practises: sequence and precision.
2. A paper track on the floor
Cut a dozen squares from card and draw track pieces on them: straights and bends. Put a START card on the floor and a STOP card a few steps away. The child lays the track tile by tile so a toy train can travel from start to stop. Then they push the train along with a finger to check it never falls off. Practises: an algorithm as a path from beginning to end.
3. The sandwich recipe
The child tells the adult how to make a sandwich, and the adult does exactly what they hear. “Spread the jam on the bread” without opening the jar means spreading with a closed jar. The lesson: a computer does exactly what we tell it. It can't guess what we meant. Practises: precise instructions.
4. Grid drawing
One child has squared paper with a simple picture made of filled squares, such as a heart. They call out arrows to a partner: “→ → ↓ fill”. The partner draws without seeing the original. Then they compare pictures and look for the spot where they went different ways. Practises: coding, reading instructions and finding bugs.
5. Rhythm and repeat
The adult claps a rhythm: clap, clap, stomp. The child writes it down with symbols. Now the rhythm has to repeat four times. Do you need to write it out four times? Just draw a loop: the rhythm in a frame with “×4” next to it. Practises: loops. Our guide to loops for kids has more ideas.
6. The switch
Make a taped path on the floor that splits in two. At the fork, place a card with a question, for example “Are your socks striped?” YES means turn left, NO means turn right. A different task waits at the end of each path. Practises: if-then conditions.
7. Labelled boxes
Three shoeboxes labelled a, b and sum. The child follows instruction cards: “put 3 in a”, “put 5 in b”, “put a + b in sum”. Then “put 10 in a”. Did sum change by itself? Practises: variables and assignment.
8. Weighing blind
Five identical, opaque bottles with different amounts of sand. You may only compare them in pairs on a balance scale. The task: line them up from lightest to heaviest and count the weighings. Practises: sorting and counting the steps of an algorithm.
9. Guess my number
The adult thinks of a number from 1 to 100. The child guesses, and the adult only says “higher” or “lower”. How many guesses does it take? If you start at 50 and always halve, you find any number in 7 guesses at most. Practises: binary search.
10. Find the bug in the recipe
The adult writes a “program” on paper, such as the way from the kitchen to the bathroom or how to get dressed, and hides one mistake in it on purpose. The child follows it step by step and looks for the spot where things go wrong. Then swap roles. Practises: debugging.
Common mistakes adults make
- Games that go on too long. Fifteen minutes plus a chat afterwards does more than an hour without a break.
- Helping too soon. When the robot hits the wall, ask: “Which instruction did that?” Let the child find the fix.
- A robot that guesses. The adult robot must follow instructions literally. If it quietly fixes bad instructions, the game loses its point.
- No names. After a game, say it out loud: “What you just did is called a loop.” A name helps the child carry the idea into the next game.
- Only one game. Children understand an idea better when they meet it in several different forms.
What it looks like in Looponi
Looponi takes the paper track game onto a screen. The first lesson on the Little Ones track, “Track to the bakery”, looks almost like activity number 2. At the top of the board is the START station with Dot the little engine, at the bottom a STOP by the bakery. Semaphore the cat has a birthday, and Dot is going to fetch a cake. The child lays the track one tile under another, and before the run predicts whether Dot will reach the bakery or stay at the start. Then they watch Dot ride along the track they built.
Later lessons add what the games above practise: switches with a YES/NO question, a roundabout that repeats trips, and numbers kept in boxes. The child lays the pipes, just like the tape on the floor; at most, the app helps with the routing. That's why unplugged games and Looponi fit together well: first movement and paper, then the same idea on a board where every step of the token can be seen on its own.
What age is right?
Movement games with the robot, the track and the switch work from age 5 or 6, as long as an adult helps with reading. Grid drawing, rhythms with loops and the variable boxes suit children of 7 to 9. Blind weighing, number guessing with counted tries and debugging longer recipes are good challenges from about 9 or 10. Our guide on what age to start coding goes into more detail.
Frequently asked questions
What is unplugged coding?
Games and activities that teach computer science ideas such as algorithms, loops and conditions without a screen. You use paper, tape, playing cards and your own body.
Do unplugged activities really teach programming?
They teach the thinking that programming rests on: precise instructions, the order of steps, repetition and decisions. They don't teach the syntax of a particular language, and that isn't their aim.
How long should one activity take?
Most activities on this list take 10 to 20 minutes. A short game followed by a chat about what happened works better than dragging it out once the child is bored.