| Unit 7.6 - Control and Simulations | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Lesson 1: Sensors, Loops & Operators
Starter Activity: Students watch the i-penguin; discuss and identify in groups the various type of sensors it uses. Sensors measure physical qualities like heat, sound, pressure, humidity and light. They send the signal back to the computer. Task 1: Make the beachball and the baseball to bounce off the walls (Level 3). Use the following video tutorials to help you. Hint: The instructions for making the Baseball bounce are below:
Task 2: Making the balls bounce off each other (Level 4). When the beachball and the baseball touch (sensors?) each other or the basketball- they must bounce off in the opposite direction; not continue to travel in the same direction as they do right now.
Extension: (Level 5C) Can you make the balls produce a sound when they hit each other? If you are feeling brave - produce a different sound when any of the balls touch the basketball. This video tutorial will help you. Task 3: The basketball. The basketball should produce a sound when any of the other balls hit it. The longer you can protect your basketball from being hit by other balls - the higher you score is; else the game starts again.
Extension:( level 6) How are you going to control the basketball with the arrow keys? You should be able to move the Basketball in all 4 directions using the arrow keys. This video tutorial will be able to give you some hint.
You think you are an expert? Excellent! Generate the score.. Hint: If timer is more than 5 and less than 10 say "Score 5 points"
|
||||||||||||||||||||