Creating games
Lesson details
Learning outcome
I can create a project that includes repetition.
Key learning points
- A program can be built by implementing a design and algorithm into code.
- The order of blocks inside a loop affects the outcome.
- Testing and debugging are necessary steps when building and refining a program.
Keywords
Algorithm - a sequence of steps that can be followed to do a task
Debug - the process of finding and correcting errors in code
Common misconception
The order of the blocks inside a 'forever' loop doesn't really matter, as long as they are all in there.
The order of the blocks inside a loop can matter, and running them in a different sequence may affect the game.
Teacher tip
If pupils haven�t completed their own game design sheet, use the included Bat Catching Game design sheet. Having a ready-made plan helps pupils focus on practising the coding skill (repetition) rather than increasing pupils' cognitive loads by getting them to do too much within a single lesson.
Equipment
Pupils will need access to a device with block-based programming software. Examples in this lesson use Scratch https://oak.link/scratch
Licence
Lesson video
Loading...
Prior knowledge starter quiz
6 Questions
Q1.What is the main reason for using repetition in a programme?
Q2.Which of these best describes an algorithm?
Q3.Why might you select key parts from another project for your own design?
Q4.Match the action to its purpose.
to repeat actions
to use useful ideas
to plan your steps
to check if it works
Q5.What is the word for creating a detailed outline of how a project or programme will work before you start building it?
Q6.Put these actions in order when designing an algorithm:
Assessment exit quiz
6 Questions
Q1.What is the main purpose of an algorithm in programming?
Q2.What is the process of finding and fixing errors in your code called?
Q3.Why do programmers test and debug their projects?
Q4.Arrange these steps for building a game project:
Q5.What might happen if you change the order of instructions inside a 'forever' loop in your game?
Q6.Put these actions in order for fixing a problem in your programme:
To help you plan your 4 computing lesson on: Creating games, download all teaching resources for free and adapt to suit your pupils' needs...
To help you plan your 4 computing lesson on: Creating games, download all teaching resources for free and adapt to suit your pupils' needs.
The starter quiz will activate and check your pupils' prior knowledge, with versions available both with and without answers in PDF format.
We use learning cycles to break down learning into key concepts or ideas linked to the learning outcome. Each learning cycle features explanations with checks for understanding and practice tasks with feedback. All of this is found in our slide decks, ready for you to download and edit. The practice tasks are also available as printable worksheets and some lessons have additional materials with extra material you might need for teaching the lesson.
The assessment exit quiz will test your pupils' understanding of the key learning points.
Our video is a tool for planning, showing how other teachers might teach the lesson, offering helpful tips, modelled explanations and inspiration for your own delivery in the classroom. Plus, you can set it as homework or revision for pupils and keep their learning on track by sharing an online pupil version of this lesson.
Explore more key stage 2 computing lessons from the Using repetition in programming to create a game unit, dive into the full primary computing curriculum, or learn more about lesson planning.