# Programming B - Repetition in games

This suite of resources, by Teach Computing, covers the Year 4 unit: Programming, through repetition in games.This unit continues to explore the concept of repetition in programming using the Scratch environment. It begins with a Scratch activity similar to that carried out in Logo in Programming unit A, where learners can discover similarities between two environments. Learners look at the difference between count-controlled and infinite loops, and use their knowledge to modify existing animations and games using repetition. Their final project is to design and create a game which uses repetition, applying stages of programming design throughout.

This unit follows a suggested learning loop of six lessons:

1. Using loops to create shapes

2. Different loops

3. Animate your name

4. Modifying a game

5. Designing a game

6. Creating our games

All planning documents and resources are provided for each lesson.

## Resources

Filter

Subject
Age
Type
Showing 7 result(s)

### Programming B - Repetition in games Overview

In this unit, Year 4 pupils will explore the ideas programming, through repetition in games. Teach Computing have provided a detailed Unit Overview and Learning Graph which explain each theme and how they link together across the unit of learning.

In the unit overview, each of the six lessons is explained...

### Lesson 1 - Using loops to create shapes

In the first lesson, pupils look at real-life examples of repetition, and identify which parts of instructions are repeated. Pupils then use Scratch, a block-based programming environment, to create shapes using count-controlled loops. They consider what the different values in each loop signify, then use existing...

### Lesson 2 - Different loops

In this lesson, pupils look at different types of loops: infinite loops and count-controlled loops. They practice using these within Scratch and think about which might be more suitable for different purposes.

Learning objectives

• To explain that in programming there are infinite loops and...

### Lesson 3 - Animate your name

In this lesson, pupils create designs for an animation of the letters in their names. The animation uses repetition to change the costume (appearance) of the sprite. The letter sprites will all animate together when the event block (green flag) is clicked. When they have designed their animations, the pupils will...