Lesson Plan 7 Computer Games Mathematical Skills / Concepts Scratch Features Curricular Links Problem Solving, Variables, Time Sensing Mathematics, Art, Language These lesson plans are available for free download for personal and educational use thanks to a generous grant by ICS Skills. It is distributed under a Creative Commons Attribution-Non Commercial-NoDerivs licence, which means that you are free to copy, distribute, and display the lesson plans provided you make no changes to the content (including the attribution to the authors and these license terms); you may not use these lesson plans for commercial purposes, and you may not alter, transform, or build upon this work. We encourage the use of this material in educational settings, and you are welcome to print your own copy of the lesson plans. We welcome enquiries and suggestions, which should be directed to the authors (see www.lero.ie/educationoutreach). © 2012 - 2013 Lero 18 07 2013 Version 1.02 Learning Objectives The child will: • • Teacher Tip Create a game which uses sensing. Use sensing to effect change in a game. Introduction • • • When you find a game you like on http://scratch.mit.edu, you can click on the “See inside” button to view the scripts and see how the project was made. View some of the sample games in Scratch. On the Scratch website at http://scratch.mit.edu click on Explore and then Games. Have a discussion with the children about the different games they enjoy playing. Look at the code in the sample games and chat about how this code could be altered to make other games. Maze Game The touching block under Sensing gives us a true or false response. We can then create scripts which do different things if the answer is true or false. • • • Children will create a game where a sprite moves around a maze, avoiding certain obstacles. First we will create a backdrop. Click on the stage and then click on the Paint new backdrop button. Design a maze using the paint features. Add a sprite. Adjust the sprite’s size to fit the maze. Click on one of these buttons and then click on your sprite to shrink or enlarge it. • • Program the sprite to move up, down, left and right. Remember to click on the sprite in the sprites area before starting your code. Challenge Time 1! 1. Draw a maze backdrop. 2. Choose a sprite and program it to move around the maze. 3. Ask your friends to play with your maze and give you some feedback. 2 | Scratch Lesson Plan Sensing • • If the sprite touches the wall, we want it to return to the start. We will use the touching block to do this. The walls of this maze are black so we will create a script where, if the sprite touches the colour black, it must return to the start. The sprite will start with 5 lives. Each time it hits off the wall, it will lose a life. The lives decrease by 1 each time the sprite touches the colour black i.e. the walls. Ultimate Challenge! 1. 2. 3. 4. Draw a maze backdrop. Choose a sprite and program it to move around the maze. Give the sprite 5 lives. Ask your friends to play with your maze and give you some feedback. Lesson 7 | 3 Notes 4 | Scratch Lesson Plan
© Copyright 2026 Paperzz