🧡 Tip us
💻 Coding

Hour of Code
for kids

A ready one-hour plan of free coding games for ages 4–10. Nothing to install, no sign-up, no reading needed to start.

60-minute planAges 4–10No sign-up
Any hour worksHour of Code week is in early December, but the plan works on any day, in class or at home.

Your coding hour

5 games, 60 minutes, in this order
  1. 1Warm up: what comes next?

    ⏱️ 5 min🎮 Pattern Maker💡 Patterns

    Spot the rule in a train of fruit and shapes and fill the empty wagon. Finding the rule is the first thing every coder does.

    Play Pattern Maker ▶
  2. 2Write your first code

    ⏱️ 20 min🎮 Robot Coder💡 Sequences and debugging

    Put arrow cards in a row and press Go to drive the robot to its battery friend. If it goes the wrong way, find the card that's wrong and fix it: that's debugging.

    Play Robot Coder ▶
  3. 3Plan a route

    ⏱️ 10 min🎮 Maze Runner💡 Algorithms

    Help Joey through the hedge maze. Look before you hop and plan the whole path: an algorithm is just a plan of steps.

    Play Maze Runner ▶
  4. 4Read a grid code

    ⏱️ 15 min🎮 Nonogram Garden💡 Grids and logic

    The numbers on the signs say which squares to plant, and a picture grows. Screens draw pictures from grids of squares in the same way.

    Play Nonogram Garden ▶
  5. 5Keyboard time

    ⏱️ 10 min🎮 Typing Pets💡 Typing

    Find the letters and type a pet's name to feed it. Every coder types, so start slow and look for each letter.

    Play Typing Pets ▶

That's your hour! 🎉 Time left? Try a game below.

More games for little coders

Logic, order and planning

Coding without screens

Mazes and patterns to print

Tips for teachers and parents

Running the hour
  • Start togetherPut Robot Coder on the big screen and solve level 1 as a class, children calling out the arrows.
  • Work in pairsOne child taps (the driver), the other plans and checks (the navigator). Swap at every new level.
  • Bugs are goodWhen the robot goes the wrong way, ask "Which card is wrong?" Fixing it is the real lesson.
  • Coding without screensPlay Robot Friend: one child is the robot and only moves when a friend says forward, turn left or turn right. Try it with our mazes to print.
  • No loginsEvery game opens in the browser on Chromebooks, iPads and computers. Nothing to set up and no names asked.

About this Hour of Code

This free Hour of Code plan is made for children aged about 4 to 10. In one hour they spot patterns, write a first program with arrow cards, plan a route through a maze, read a grid code and practise typing, all in cheerful games with no reading needed to start.

Coding for young children is about thinking in steps: putting instructions in order, checking what happens and fixing what goes wrong. Those are the ideas behind every step of the plan, and they carry straight into maths, writing and everyday problem solving.

Questions parents ask

5 quick answers

What is the Hour of Code?

A yearly event in early December, during Computer Science Education Week, when classes around the world try one hour of coding. Any hour of coding activities counts, and this page is a free plan you can use for it.

Can 4 and 5 year olds do it?

Yes. Pattern Maker, Robot Coder and Maze Runner need no reading: children tap pictures and arrows. Start with the first levels and keep it playful.

Do children need an account?

No. Every game is free in the browser with no sign-up, no email address and no download.

Does it work on Chromebooks and iPads?

Yes. All the games work on Chromebooks, iPads, tablets, phones and computers, with touch, mouse or keyboard.

Is this the official Hour of Code site?

No. Tiny Players is a free kids' games site, not part of Code.org. These games are our own, made to fit an hour of coding for young children.