Download presentation
Presentation is loading. Please wait.
1
Objective of the lesson
Program your Sphero to simulate and play games All of you will: Use your Sphero to create a program to simulate being pulled over by a traffic officer Most of you will: Use your Sphero to create a Hot Potato game Some of you will: Create a program to allow your Sphero to tell the future
2
Speedy Sphero You’ll create a program that simulates Sphero getting pulled over by a police officer for speeding, build a hot potato game, and make Sphero into a fortune teller to predict the future. All of this will be accomplished with variables that let you set conditional values.
3
Variables
4
Speeding Ticket Sphero gets pulled by a police officer for speeding, using the speed sensor as a variable and Loop Until.
5
Speeding Ticket
6
Hot Potato Advance Warning – This program starts to be come more difficult. Only proceed if you are in Year 8 and confident at coding and maths Sphero gets thrown around in the hot potato game using two variables and Loop Until.
7
Hot Potato
8
Fortune Teller Sphero is a fortune teller that predicts the future by combining a variable, nested If Then, Else conditions, and random bounded values. After you build the program, consider creating a more complex fortune teller, here are some possible answers you could program.
9
Fortune Teller
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.