Moon Buggy Programming Challenge with Variables
Dive into a lunar adventure with the moon buggy simulation. Add crates of rocks to the buggy while using variables to track the collection count. Explore algorithms, main activities, and extension experiments to enhance your coding skills. Test your understanding through a plenary session discussing the significance of variables in games and applications.
Download Presentation
Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. Download presentation by click this link. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
E N D
Presentation Transcript
Mining on the Moon Space Adventures Computing Unit 1 Lesson 4 Max Wainewright
Learning Objective Add crates of rocks to the moon buggy simulation. Use a variable to count how many have been collected.
Introduction U1L4 introduction video
Algorithm the buggy moves around when ____ (from previous lesson) when the buggy reaches a crate it ____and the crate count ____ at the start of the game the crate count is set to ____
Algorithm the buggy moves around when different keys are pressed (from previous lesson) when the buggy reaches a crate it disappears and the crate count increases at the start of the game the crate count is set to zero
Main activity Use Scratch to add crates to your moon buggy program. Use a variable to count how many crates have been collected. U1L4 demonstration video U1L4 step by step.pdf
Extension Activities Experiment with parts of the code. Add code to make the moon buggy reverse. See U1L4 going further.pdf for more details
Plenary Can you explain how the count variable works? List games you have played and how each game use variables to keep the score or the number of lives. Can you think of other examples of variables in programs or apps?