Skip to content

Using variables in programming to develop a game

Download complete unit(not available yet)

Why this, why now

This unit explores the concept of variables in programming through the development of games. Pupils will investigate what variables are and relate them to real-world examples of values that can be set and changed. Then they use variables to create a simulation of a scoreboard.

Prior knowledge requirements

  • Ardaydu waa inay yaqaanaan aasaaska maadada.
  • Ardaydu waa inay awoodaan inay raacaan tilmaamo fudud.
Unit 3 / 6

Using variables in programming to develop a game

This unit explores the concept of variables in programming through the development of games. Pupils will investigate what variables are and relate them to real-world examples of values that can be set and changed. Then they use variables to create a simulation of a scoreboard.

6 lessons
  1. Improving a game
  2. Design to code
  3. Design a game that uses variables
  4. Improving and sharing
  5. Updating and changing values in a variable
  6. Introducing variables