Intermediate
40 mins
Teacher/Student led
+80 XP

Inside the Machine That Runs Your Game

Explore the parts inside the computer that runs your games. Name the CPU, memory, storage, input and output devices. See how your game moves from storage to memory and runs on the CPU, and sort hardware from software.

Teacher Class Feed

Load previous activity

    1 - Start ~4 mins

    Illustration for StartYou have built games in Scratch and MakeCode Arcade. Today you look inside the machine that actually runs them. By the end of the lesson you will be able to name the main parts of a computer, say what each one does for your game, and sort what is hardware from what is software.

    2 - How Your Game Gets Running ~6 mins

    Illustration for How your game gets runningA computer is a machine that follows instructions. Hold these four chunks in mind; the tour and the sort will use each one in turn.

    1. Hardware and software. Hardware is the physical parts of the machine: the bits made of metal, plastic and silicon, whether you can see them or not. Software is the instructions and data. Your game is software.
    2. Storage and memory. When you open a saved game, it is copied from storage (where it sits when the power is off) into memory (where it sits while it is running).
    3. CPU. The CPU then carries out the instructions one after another.
    4. Input and output. Input devices such as the keyboard and mouse send signals in; output devices such as the screen and speakers send results out.

    3 - Hands-on: Tour the Machine That Runs Your Game ~12 mins

    Use the computer in front of you and one game you have already built as the running example. Work through the five stops below. Write in your copybook only where a stop asks for an answer.

    1. Outside the box. Name two input devices and two output devices you can see or touch on your machine. Which ones does your game use?
    2. Storage. Find your saved game file (class folder, signed-in account, or wherever your teacher has you save). That file is kept in storage when the power is off. On a PC that storage is often the hard drive; in an online account it sits on storage in a data centre.
    3. Open and run. Open your saved Scratch or Arcade game so it is ready to run. A copy is now in memory. Run the game for about thirty seconds. Every move and every score change is the CPU carrying out instructions from your game, in order.
    4. Storage and memory. Finish these two lines in your own words in your copybook (use the stems if they help):
      • Storage is the part that keeps… when power is off
      • Memory is the part that holds… while the game is running
    5. Make one change. Pick one tiny change, run the game once to check, then write what you changed and which hardware (input or output device) that change uses. Choose from:
      • which key moves a sprite, or
      • whether a sound plays
    Exploration

      4 - Hands-on: Sort Hardware, Software and Jobs ~12 mins

      Complete the interactive sort on screen.

      1. First, drag each card into Hardware (physical parts of the machine) or Software (instructions and data).
      2. Then complete the second sort by job: what holds your game when the power is off, what holds it while it is running, what carries out the instructions, what is input or output, and what is the software itself.
      3. Use the prompts at the end to check your thinking.

      What is hardware, and what is software?

      5 - Make Sense ~3 mins

      Your game is software. Storage keeps the file when the machine is off. Memory holds a live copy while the game is running. The CPU carries out the instructions in order. Input and output devices let you control the game and see the result. Hardware is the physical kit; software is the instructions and data.

      123learn · Online learning platform

      Unlock the full learning experience

      You're previewing this lesson. Get full access to this lesson and hundreds more — each one ready to teach, with interactive activities, printable resources and pupil progress tracking built in.

      Hundreds of curriculum-aligned lessons
      Interactive activities in every lesson
      Printable resources & progress tracking
      Copyright Notice
      This lesson is copyright of Coding Ireland 2017 - 2025. Unauthorised use, copying or distribution is not allowed.
      🍪 Our website uses cookies to make your browsing experience better. By using our website you agree to our use of cookies. Learn more