Programming

Make a game with Codoodle. Six lessons in which children learn how games work by making one. They place and move characters on a grid, make things happen when characters touch, keep a score and lives with variables, and use If to decide what happens next. Then they design, build, test and share a game of their own. Everything you need to teach it is on this page.

  • 6 lessons of about 50 minutes
  • Selection and variables
  • Written for Year 5, works for Years 4 to 6
  • 67 slides

Before you teach

The six lessons

  1. 1
    Move it: How does a program know where things are?Children learn to say where a doodle is with two numbers, and predict where a sequence will move it. They make a baddie that patrols a route for ever.
  2. 2
    Sense it: How does a game know when two things touch?Children learn to make something happen when two doodles touch, and explain that a condition is true or false. They make coins that vanish when they are collected, and a ghost that reacts.
  3. 3
    Steer it: How do we turn code into a game?Children learn to break a game into parts and build a maze, steered with the arrow keys, that reacts when the player touches a wall. They make a maze game: steer to the treasure with the arrow keys, without touching the walls.
  4. 4
    Count it: How does a game remember the score?Children learn to explain what a variable is and how a program changes it. They make a changed copy of Star chase, with their own numbers.
  5. 5
    Score it: How can a game react to the score?Children learn to use variables and If to make a game keep score, lose lives, and be won or lost. They make their maze from lesson 3, now with a score, lives, a win and a game over.
  6. 6
    Design it: Can I plan, build and test a game of my own?Children learn to plan a project that is the right size, build it a part at a time, test it and improve it. They make their own game, shared with the class.

Sheets and assessment