Skip to main content
Karavanto

The ideas

At home · this afternoon

Coding a first video game

1 h 30Making things

A cat that jumps, falling apples, a climbing score: with Scratch, free and in many languages, the teenager programs a game in an afternoon and gets the family to test it.

You will need

Before you start

Create an account with the teenager if needed, or work without one and download the project. The built-in tutorials guide the first steps.

How to do it

  1. The adult opens Scratch and starts the ten-minute intro tutorial with the teenager.
  2. The teenager sketches the game on paper: the hero, what falls or appears, what makes you win or lose.
  3. They code the hero: move with the arrow keys, touch an object, play a sound.
  4. They add randomly falling objects, a 'score' variable and a game-over.
  5. They get the whole family to test it and note the high scores.

The challenge

Add a faster second level once the score reaches twenty.

Depending on who is there

With a younger child: ScratchJr on a tablet, with picture blocks. With an experienced teen: a platform game with gravity and several levels. With two: a programmer and an artist. On your own: a project to build on every day of the holidays.

To finish

Save the project and share it with the cousins so they can beat the record.