Computing KS1 / KS2: Programming a computer game

A Year 6 class is using Scratch visual programming language to create their own computer games.

We see the children at Code Club, writing their own instructions for the sprites (or characters) in a cat and mouse chase game.

They talk science presenter Minna Kane through their use of commands such as FOREVER, REPEAT, IF/THEN and adding sounds to their games.

We see how they drag command blocks into a sequence to tell the sprites what to do.

They use variables to give the players a score. We see a young coder who has created a game with four sprites and is working through the problems this more complex game creates.

We hear that problem-solving and logical thinking are key skills for coding.

The children suggest more complex games they would like to code in the future.

This clip is from the series Cracking the Code.

Teacher Notes

Could be used as an example activity for designing and writing programs that accomplish specific goals.

Is also a good example of using logical reasoning to explain how a simple program works.

Curriculum Notes

This clip will be relevant for teaching Computing at KS1 and KS2 in England and Northern Ireland, Design and Technology KS2 in Wales and Computing Science and ICT at Second Level in Scotland.

More from the series Cracking the Code

Computing KS1 / KS2: Programming a robot crocodile
video
Computing KS1 / KS2: Creating a simple automated driving simulator
video
Computing KS1 / KS2: Creating computer generated visual effects
video
Computing KS1 / KS2: Programming a robotic toy car
video
Computing KS1 / KS2: Programming robots to play football
video
Computing KS1 / KS2: Simulating the experience of F1 racing
video
Computing KS1 / KS2: Programming a webcam
video
Computing KS1 / KS2: What are bitmap graphics?
video