Skip to content
HeadTeacher.ng
Lesson Notes

Game Development, PictoBlox Commands and Variables for Primary 4

Explore meaning of Game Development, Functions of PictoBlox Programming Interface Commands and Creating a Game with Variables in Basic Digital Literacy for Primary 4.

Published Reading8 min Comments0

Note for teachers using this lesson plan

This lesson introduces pupils to the exciting world of game development using PictoBlox, focusing on commands and variables. Ensure all necessary equipment (computers/tablets with PictoBlox installed and internet access) is ready before the lesson. Guide pupils through the practical steps of creating a simple game, emphasizing the role of commands and variables. By the end, pupils should be able to explain game development, identify key PictoBlox commands, and create a basic game incorporating a variable like a score.

Class: Primary 4
Term: Third Term
Week: 9
Age: 9 years
Duration: 45 minutes
Subject: Basic Digital Literacy
Curriculum Theme: Robotics and Artificial Intelligence
Focal competence: Sketching objects using visual programming language
Key competencies/values: Communication; Critical Thinking; Creativity and Innovation; ICT and Digital Competencies
Skills:

  • Creating a game with variables

Previous Lesson: Robotics, Uses of Robots and Autonomous Robot Programming
Topic: Game Development With Pictoblox
Subject Matter: Meaning of game development, functions of PictoBlox programming interface commands, creating a game with variables

Specific Objectives

By the end of the lesson, pupils/students should be able to:

Cognitive Domain

  • explain the meaning of game development;
  • identify the functions of programming user interface commands in PictoBlox.

Psychomotor Domain

  • create a game with variables.

Affective Domain

  • appreciate the creativity involved in game development.

Social Domain

  • collaborate with peers to develop simple game ideas.

Reference Materials

The following resources were used in planning this lesson:

  • 2025 Revised 9 Years Basic Education Curriculum
  • Relevant State Unified Scheme of Work
  • Basic Digital Literacy for Primary Schools, Book 4
  • The HeadTeacher Scheme of work

Instructional Materials

The teacher will teach this lesson with the aid of:

  • Computer
  • Tablet
  • Internet access
  • PictoBlox software
  • Whiteboard and marker
  • Projector (optional)

Rationale for the Lesson

This lesson introduces pupils to the fundamental concepts of game development, fostering critical thinking and creativity through a visual programming language. Understanding PictoBlox commands and variables provides a practical foundation for future programming skills. It encourages problem-solving and digital literacy, preparing pupils for a technology-driven world.

Prerequisite/Previous Knowledge

Pupils should have basic knowledge of computer operation, using a mouse and keyboard, and navigating simple software interfaces.

Lesson Content/Board Summary

Game Development With PictoBlox

Meaning of Game Development

Game development is the process of creating computer games. It involves designing the game, writing the code (instructions), creating characters and backgrounds, and testing the game to make sure it works well. It is like telling a computer how to play a fun story.

Functions of PictoBlox Programming Interface Commands

PictoBlox uses blocks that act as commands to tell a computer what to do. These blocks are grouped into categories like Motion, Looks, Events, Control, and Variables.

Some common PictoBlox commands and their functions include:

  1. When Flag Clicked: This block starts the program when the green flag button is clicked. It is usually the first block in a script.
  2. Move (10) Steps: This block makes a sprite (character) move forward by a certain number of steps.
  3. Say (“Hello!”) for (2) Seconds: This block makes a sprite display a speech bubble with text for a specific time.
  4. Change (Effect) by (10): This block changes a visual effect of the sprite, like its colour or brightness.
  5. If (Condition) Then: This block checks if a condition is true. If it is, the blocks inside “then” will run.
  6. Forever: This block makes the blocks inside it repeat endlessly.

Creating a Game with Variables

A variable is like a container or a box that can hold different values. In games, variables are used to keep track of things that change, like a player’s score, health, or time remaining.

Steps to create a simple game with a variable in PictoBlox (e.g., a score variable):

  1. Design the Game: Decide what the game will be about (e.g., catching falling apples).
  2. Choose Sprites and Backdrop: Select characters (sprites) and a background (backdrop) for the game.
  3. Create a Variable: Go to the “Variables” category and click “Make a Variable.” Name it “Score.”
  4. Set Initial Score: Use “set (Score) to (0)” at the beginning of the game to start the score at zero.
  5. Add Commands for Movement: Use “move” blocks and “when (key) pressed” events to control a sprite’s movement.
  6. Add Commands for Interaction: Use “if (touching sprite) then” blocks to check for interaction between sprites.
  7. Update Variable: When a sprite catches an item, use “change (Score) by (1)” to increase the score.
  8. Test the Game: Play the game to see if it works as expected and make any necessary changes.

Teaching Methods/Instructional Techniques

Discussion, Demonstration, Guided Practice, Question and Answer, Explanation, Observation, Practical Activity.

Instructional Procedures

Step 1: Introduction

Time: 5 minutes

Teaching Skill: Engaging/Questioning

Teacher’s Activity: The teacher greets the pupils and asks them about their favourite computer games. The teacher then introduces the topic of game development and explains that they will learn how to create simple games using PictoBlox.

Pupils’ Activity: Pupils respond by mentioning their favourite games and listen attentively to the introduction.

Learning Point: Introduction to game development

Step 2: Meaning of Game Development

Time: 8 minutes

Teaching Skill: Explanation/Definition

Teacher’s Activity: The teacher explains what game development means, using simple language and examples. The teacher uses the whiteboard to write down key points.

Pupils’ Activity: Pupils listen, ask questions for clarity, and contribute simple ideas about game creation.

Learning Point: Meaning of game development

Step 3: Functions of PictoBlox Commands

Time: 8 minutes

Teaching Skill: Demonstration/Explanation

Teacher’s Activity: The teacher opens PictoBlox software and demonstrates some basic programming interface commands (e.g., “when flag clicked,” “move steps,” “say hello”). The teacher explains the function of each command.

Pupils’ Activity: Pupils observe the demonstration carefully and identify the different command blocks shown by the teacher.

Learning Point: PictoBlox command functions

Step 4: Understanding Variables

Time: 7 minutes

Teaching Skill: Explanation/Concept Building

Teacher’s Activity: The teacher introduces the concept of a variable as a container for changing values, using the example of a “score” in a game. The teacher shows how to create a variable in PictoBlox.

Pupils’ Activity: Pupils listen and understand the idea of a variable, asking questions about how it works in a game.

Learning Point: Concept of variables

Step 5: Game Creation Demonstration

Time: 7 minutes

Teaching Skill: Demonstration/Modeling

Teacher’s Activity: The teacher demonstrates how to create a very simple game in PictoBlox that uses a variable, such as a “score” that increases when a sprite touches another. The teacher explains each step.

Pupils’ Activity: Pupils watch the teacher’s demonstration, paying attention to how commands and variables are used together.

Learning Point: Game creation with variables

Step 6: Guided Practice

Time: 5 minutes

Teaching Skill: Guided Practice/Support

Teacher’s Activity: The teacher guides pupils to modify or create a simple game on their computers/tablets, ensuring they incorporate a variable like “score.” The teacher moves around to provide support.

Pupils’ Activity: Pupils work individually or in pairs to modify/create their simple game using PictoBlox and variables.

Learning Point: Practical game development skills

Step 7: Evaluation/Review

Time: 5 minutes

Teaching Skill: Questioning/Assessment

Teacher’s Activity: The teacher evaluates the learning by asking the following questions:

  1. What is game development?
  2. Mention two PictoBlox commands and their functions.
  3. What is a variable in programming?
  4. How can you use a variable like ‘score’ in a game?

Pupils’ Activity: Pupils answer orally and in writing.

Learning Point: Understanding game development concepts

Step 8: Note-Taking

Time: 4 minutes

Teaching Skill: Guided Writing

Teacher’s Activity: The teacher guides pupils to copy the essential Board Summary notes on game development, PictoBlox commands, and variables into their notebooks.

Pupils’ Activity: Pupils copy the notes carefully into their notebooks.

Learning Point: Recording lesson notes

Step 9: Conclusion

Time: 1 minute

Teaching Skill: Summarising

Teacher’s Activity: The teacher briefly recaps the main points of the lesson, encouraging pupils to continue exploring game development at home.

Pupils’ Activity: Pupils listen and prepare for the next lesson.

Learning Point: Lesson recap

Continuous Assessment/Further Study

Type: Homework

Instruction: Answer the following questions in your notebook or try to create a simple game using PictoBlox at home.

  1. Define game development in your own words.
  2. List three PictoBlox commands and explain what each one does.
  3. Think of a simple game idea. What variable would you use in your game, and why?
  4. If you have access to a computer, try to build a simple game in PictoBlox where a sprite collects items and increases a score.

Lesson Keywords

  • Game Development – The process of creating computer games.
  • PictoBlox – A visual programming software for creating games and interactive projects.
  • Commands – Instructions given to the computer to perform a task.
  • Variables – Containers that store values that can change during a program.
  • Sprite – A character or object in a PictoBlox project.
  • Programming Interface – The visual environment where you write code using blocks.

Differentiation

For slower learners, the teacher will provide more one-on-one guidance during the practical session and simplify the game creation task. Faster learners can be challenged to add more features to their games, such as multiple levels, different scoring mechanisms, or additional sprites and interactions.

Suggested Lesson Videos

For further understanding, search on YouTube for: PictoBlox game development for kids primary 4

Teacher Guide for Using This Lesson Plan

Before the lesson, ensure that PictoBlox software is installed and functional on all computers or tablets. Familiarise yourself with basic PictoBlox commands and how to create a simple variable. Begin by engaging pupils with their favourite games to make the topic relatable. Clearly explain the meaning of game development and demonstrate the functions of key PictoBlox commands step-by-step. Introduce variables with a simple, practical example like a game score. During the guided practice, circulate among pupils, offering support and encouragement as they create or modify their games. Encourage collaboration among pupils. Ensure that pupils copy the Board Summary notes after the practical session to reinforce learning. Conclude by reiterating the importance of digital literacy and creativity in game development.

Export this post
Game Development, PictoBlox Commands and Variables for Primary 4
About the author

Royal Alikor

Royal Alikor is an educator with six years of classroom teaching and three years of elementary school leadership experience. He develops and reviews practical, curriculum-aligned learning materials for Nigerian schools.

Community Join the conversation Open discussion +