Intermediate
40 mins
Teacher/Student led
+95 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 - Hardware, Software, Storage and Memory ~3 mins

    What runs your game

    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 - The CPU, and Input and Output ~3 mins

    1. CPU. The CPU then carries out the instructions one after another.
    2. 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.

    4 - Tour the Machine: the First Three Stops ~7 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.

    5 - Storage Against Memory, Then Change One Thing ~5 mins

    1. 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
    2. 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
    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