|  | Computer Science Home 6th Grade Tech Ed 7th Grade Computer Science 8th Grade Computer Science A 
        Gmail      Google Drive
 Google Classroom
 Infinite Campus  Typing.com (Join Class through Google Classroom)
 Schoology 
 Code.org Tynker Coding Website Tynker Resource Page Tynker Online Support Video Help Quizlet      | Quizlet LIVE Everfi Khan Academy Social Media Tips Netsmartz Code HS Karel the Dog class code: 1251
 CSTA Standards ISTE Standards
 | Lesson 8 Game Effects and RulesIn this lesson, students will create fun games with special sound and visual effects, and will learn how to apply conditional statements to program location changes in a game.Vocabulary
      Portal - a doorway, gate, or other entrance, especially a large and imposing oneTeleport -  transport or be transported across space and distance instantly Objectives
      Use code blocks to create games that have visual and sound effectsApply conditional statements to program location changes in a game What this one is about: 
      1. Today’s lesson involves Actors using portals to teleport.2. What they think of when you hear the words “portal” and “teleport?”
 3. Imagine the classroom door is a portal that can teleport (move) them to the lunchroom. So, as soon as a person walks through the classroom door, they will suddenly appear in the lunchroom.
 4. Ask if anyone can give an example of games or movies that use portals or teleportation.
 Lessons: 1. Introduction (Video)
    
  2. Concepts (Video)Students will watch a short video that introduces the lesson. 
  3. Learn to Shoot Targets Example (Example)A friendly alien introduces impulses, which are strong, sudden forces.Students will interact with different “impulse” code blocks and observe how different values affect an Actor. 
  4. Learn to Shoot Targets (DIY)Students will play a completed Shoot Targets game. They’ll create their own version of this game in the next module!How to play: Tell students to click and drag (web) or tap and drag their finger (mobile) to position the cannon. Release the mouse (web) or the touch location (mobile) to launch a cannonball at targets. 
  5. Fix the Impulse (Puzzle)In this DIY (do-it-yourself) project, students will program a cannon game.Activities include programming the cannon to face the mouse pointer (web) or touch location (mobile), programming the cannonball to become active and non-static, and resetting the cannon’s position on the Stage.Did students finish early? Ask them to explore the bonus activity in “Step 6” of the tutorial which encourages students to add more objects (e.g., walls and platforms). Who can build the tallest structure? 
  6. Get the Dynamite Example (Example)To solve this puzzle module, students will need to program the cannon to release a cannonball that reaches the dynamite, but avoids hitting the edges of the screen!Give a hint: Ask students…
    Should the cannonball Actor’s active and static blocks be set to true or false? (Answer: The “active” block should be set to true. The “static” block should be set to false.)What value should the “impulse” block be set at? (Answer: 30. The cannonball will not reach the dynamite at a lower value, and the cannonball will hit the edge of the Stage if the impulse is too high.) 
  7. Get the Dynamite (DIY)Students will view a completed cannonball launching game where they’ll try to hit the dynamite with the cannonball. They’ll create their own version of this project in the next module! 
  8. Quiz (Multiple-choice)In this DIY project, students will creating a cannonball launching game where dynamite explodes when it is touched by the cannonball!Did you finish early? In Section  6” of the tutorial go back and copy the completed wall Actors and build larger structures. 
  K-12 CTSA Computer Science Standards (Revised 2017)Computer Science Teachers Association:
 
      CCSS-Math: MP.11B-AP-101B-AP-11 1B-AP-15 2-AP-13 2-AP-162-AP-17 
CCSS-ELA: RF.5.4.A, 6-8.RST.3, 6-8.RST.4, 6-8.RST.7
CS CA: 3-5.AP.10, 3-5.AP.12, 3-5.AP.13, 3-5.AP.14, 3-5.AP.17, 6-8.AP.12, 6-8.AP.13, 6-8.AP.16, 6-8.AP.17ISTE: 1.c, 1.d, 4.d, 5.c, 5.d, 6.b |