Moon Buggy Programming Challenge with Variables

Slide Note
Embed
Share

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.


Uploaded on Oct 08, 2024 | 0 Views


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


  1. Mining on the Moon Space Adventures Computing Unit 1 Lesson 4 Max Wainewright

  2. Learning Objective Add crates of rocks to the moon buggy simulation. Use a variable to count how many have been collected.

  3. Introduction U1L4 introduction video

  4. 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 ____

  5. 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

  6. 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

  7. Extension Activities Experiment with parts of the code. Add code to make the moon buggy reverse. See U1L4 going further.pdf for more details

  8. 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?

Related


More Related Content