This course is part of Coding/STEAM Curriculum - Middle School Plan

Middle School Plan
This plan is on sale! 75% OFF
$650 per year
was $2,600

Programming 301

A fast-paced introduction to block programming for beginners in middle school where they create simple interactive programs with a focus on game design. Request Quote

Course Summary
  • Grades 7 - 8
  • Beginner level
  • 17 lessons
  • Tynker Blocks
    • Web
Course Includes
  • 17 lessons
  • 111 activities
  • Enhanced Creativity Tools
  • Automatic Assessment
  • Tutorials and Reviews
  • Coding Puzzles
  • DIY Projects
  • Quizzes
  • Teacher Guides
  • Answer Keys
Prerequisites
No previous coding experience required.

Programming 301 Lesson Plan

Lesson: Cloning
Time: 60+ mins

Introduction

Bring on the clones! In this lesson, students will use cloning to make copies of enemies and projectiles. Activities include programming a dragon to shoot lots of fireballs using cloning, cloning enemy planes for a dragon to fight, and creating a two-player battle game!

New Code Blocks

  • : Run the code attached to this block after an Actor has been cloned.
  • : Make a copy of the specified Actor.
  • : Delete this Actor if it is a clone.

Vocabulary

  • Cloning: Making multiple copies of the same Actor

Objectives

Students will...
  • Use code blocks to clone Actors
  • Use code blocks to solve a puzzle module
  • Create a 2-player battle game

Materials

  • Computers, laptops, or mobile devices (1 per student) with student account access to Tynker.com

Warm-Up (15 minutes)

1. Tell students that they’re going to learn about cloning today using Tynker.
2. Ask students what they think “cloning” means.
3. Clear up misconceptions and explain that on Tynker, cloning means making multiple copies of the same Actor. Explain they’ll learn more about this concept in the first module.

Activities (45 minutes)

Facilitate as students complete all Cloning modules on their own:
1. Concepts (Video)
  • Students will watch an interactive introduction where Dan introduces cloning concepts and cloning code blocks.
2. Clone Projectiles (DIY)
  • In this DIY (do-it-yourself) project, students will follow step-by-step directions to make the dragon shoot lots of fireballs using cloning.
  • How to play: To make the dragon shoot fireballs, press the spacebar (web) or tap the screen (mobile).
  • Point out to your students that cloning lets them create any number of identical Actors, and they only have to code the Actor once.
3. Cloning Enemies (DIY)
  • In this DIY project, students will expand on their cloning skills by cloning enemy planes for the dragon to fight.
  • Check that students are including the “delete this clone” code block in their project--too many clones could potentially slow down their computer’s speed.
4. Helicopter Dogfight (Puzzle)
  • To solve this puzzle module, students will need to program the dragon to shoot fireballs at helicopters. Students will also need to program the fireball clones to delete themselves. Students are provided a sample of what their end result should look like.
  • How to play: Tell students to move the dragon using arrow keys (web) or by tilting their device (mobile). Launch fireballs at the helicopters by pressing the spacebar (web) or tapping their screen (mobile).
5. Create an Attacker Game (DIY)
  • In this DIY project, students will expand on their project by programming enemy helicopters to fire lasers towards the dragon.
  • Are the lasers moving too quickly? Tell students to reduce the speed of the lasers by changing the value of the “wait” block.
6. 2-Player Battle (DIY)
  • In this DIY project, students will create a two-player battle game. This project is halfway complete--“Plane 2” is fully programmed, but students will need to program “Plane 1.”
  • Did students finish early? “Step 5” of the tutorial provides a list of ideas on how your students can improve their game.
7. Quiz (Multiple-choice)
  • Students will answer 5 multiple-choice questions to review concepts from this lesson.

Extended Activities (10 minutes)

Reflection
Ask students...
  • How would you describe “cloning” to a Tynker user that has never used cloning before?
  • What’s another situation where you will need lots of identical Actors on the Stage? (Example: You’re creating a sports game and need lots of cheering fans in the background.)
  • What’s another idea for a game that uses cloning?
  • What are some benefits of cloning Actors?

U.S. Standards

  • CCSS-Math: MP.1, MP.4, MP.7
  • CCSS-ELA: RI.7.4, RI.8.4, 6-8.RST.3, 6-8.RST.4, 6-8.RST.7
  • CSTA: 2-AP-10, 2-AP-13, 2-AP-16, 2-AP-17
  • CS CA: 6-8.AP.10, 6-8.AP.13, 6-8.AP.17
  • ISTE: 1.c, 1.d, 4.d, 5.c, 5.d, 6.b

U.k. Standards

Key Stage 3 (Years 7-9)
  • Understand several key algorithms that reflect computational thinking [for example, ones for sorting and searching]; use logical reasoning to compare the utility of alternative algorithms for the same problem.
  • Create, re-use, revise and re-purpose digital artefacts for a given audience, with attention to trustworthiness, design and usability.
  • Understand a range of ways to use technology safely, respectfully, responsibly and securely, including protecting their online identity and privacy; recognise inappropriate content, contact and conduct and know how to report concerns.