We are going all retro with this project as we learn how to make our very own game of Space Invaders.
Variables – A Simple Dice Game
In this exercise we will learn how to make a simple dice game using variables. The sum of randomly rolling two dice is added together to obtain a total. The total is then used to compare the current highest roll value to see if we’ve beaten it. There are addition worksheets to help cover the topic of variables here, with answers here.
This project can be varied a great deal and leads nicely into Rock, Paper, Scissors in which an working example can be downloaded here.
Variables – The Funny Name Generator
In this easy to follow tutorial we’ll be learning about all the aspects of designing our very own silly name generator, covering previous topics such as inputs & outputs and lists. Silly names will be randomly generated at a touch of a button and can be used over and over again.
This project can be used in so many different and fun ways, such as a random password generator or as the video below shows, as a means to generate a random spy name. The working example of the Spy Name Generator can be download here.
Sometimes programs go wrong and it’s up to us to work out the problem and correct any mistakes. This is a process called debugging and this exercise serves as a nice introduction to troubleshooting.
This project involves amazing mazes where pupils get the chance to build their own mazes in Scratch and go head-to-head with one another. Our Amazing Mazes tutorial handout will guide you through the process of building a basic maze where pupils must avoid the walls and randomly moving obstacles in order to complete the game. Once the basics of the game have been built, pupils can then be encouraged to add their own additional features to the game.
There is also a PowerPoint presentation for this project to assist the lesson: Maze Presentation
There have been many different maze variations to come out of this project. A particular favourite of ours is the Invisible Maze where the player has to navigate around a maze that contains invisible walls – It has to be one of the hardest games ever played! You can play the Invisible Maze here.
In this exercise we look at how we control traffic light sequences using Scratch and through the use of the BROADCAST block, instruct cars to stop and start accordingly. A working copy of the project, documentation and sprite artwork are provided here.
Guess the Number Game with Scratch
This is a perfect project to help demonstrate the use of conditions and loops. The computer selects a random number and the user has to make guesses until either the correct number is correctly chosen or the number of attempts runs out. After each guess the computer states whether the guess was too high or low. There is a working example and a PowerPoint presentation to accompany this project.
If you really want to challenge your pupils, why not set them the task of switching this game around so that the user thinks of a number and the computer has to guess.
Guess the Number with a Twist
The previous Guess the Number project was based around the concept that the computer picks a random number and the user attempts to guess it correctly. A good challenge for pupils is to set them the task of rewriting the game but reversing the logic. This time it’s the user that picks the number and the computer attempts to guess.
This project works well in Scratch and there is a working version of the game available to download. For the purpose of the video below, the user has picked the number 50.