Lesson Plan

Lesson: Time Limits
Time: 60+ mins

Introduction

In this lesson, students will create arcade games that include a time limit! Students will also reinforce messaging code blocks as they build a 2-player game.

Code Blocks

  • : Terminate all scripts in the project.
  • : Broadcast a message to all Actors in the program.
  • : Send a message to an Actor, with the specified parameters.
  • : Set the Actor’s size to the specified value.

Vocabulary

  • None

Objectives

Students will...
  • Use code blocks to set a time limit for a game
  • Create an arcade game

Materials

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

Warm-Up (15 minutes)

Lead a mini-discussion with your students:
  • Raise your hand if you’ve played an arcade-style game like Tetris or Flappy Bird. Keep you hand raised if the game you’re thinking of included a time limit.
  • What is the purpose of including time limits in games?
  • If you created an arcade game, what would the game be about? What’s the goal? What would you include to make the game challenging? Would you include a time limit? Why or why not?

Activities (45 minutes)

Facilitate as students complete all Time Limits modules on their own:
1. Time Limits Example (Example)
  • Students will view a project of a game with a time limit, which they’ll create their own version of in the next module!
  • Check that students are clicking (web) or tapping (mobile) the spaceship to launch a laser at the alien before time’s up!
2. Time Limits (DIY)
  • In this DIY (do-it-yourself) module, students will program a game with a custom timer! Activities include programming the Stage to count down and stopping all scripts in the program.
  • Note that the timer can be altered both by changing the number inside the "repeat" block and changing the number in the "wait" block.
  • Emphasize to students that the phrase "Game Over" can be replaced with something like "You have survived for 10 seconds!"
  • Did students finish early? Encourage them to modify the Stage so it says how many seconds are left on the timer.
3. Lead the Way (Puzzle)
  • To solve this puzzle module, students will need to rearrange the broadcast blocks in the correct order.
  • Are students struggling? Ask them to try broadcasting the messages in a different sequence.
4. Make Your Own Arcade Example (Example)
  • Students will view a digital version of a classic arcade cabinet with button controls! Ask students to click (web) or tap (mobile) the buttons on the Stage to see how it affects the cowboy.
5. Make Your Own Arcade (DIY)
  • Students will create a classic arcade machine with button controls. Activities include adding the cowboy’s "dance" animation and fixing the "attack" button.
  • Did students finish early? Encourage them to modify the "wait" block to speed up the cowboy’s animations.

Extended Activities (10 minutes)

Encourage students to use vocabulary terms and mention specific code blocks while answering the following questions:
  • What are some ways we can modify the "Time Limit" project to make it better?
  • What are some ways we can modify the "Make Your Own Arcade" project to make it better?
  • What is a sequence? (The order in which steps or events happen) Who can give an example of a sequence?

U.S. Standards

  • CCSS-Math: MP.1
  • CCSS-ELA: RF.1.1, RF.2.4, RF.2.4.A, RF.3.4.A, RF.4.4.A, RI.2.6
  • CSTA: 1B-AP-10, 1B-AP-11, 1B-AP-15
  • CS CA: 3-5.AP.12, 3-5.AP.13, 3-5.AP.17
  • ISTE: 1.c, 1.d, 4.d, 5.c, 5.d, 6.b
This course is not part of your plan. Please upgrade to view all answer keys

Class Presentations

These student-facing slide presentations help educators seamlessly run Tynker lessons in a virtual or physical classroom setting. Each lesson has its own set of slides that introduce the big ideas, suggest unplugged activities, and include a section for each activity module. While running lesson slides, you can switch back and forth between the activity, the slides, answer keys and other lesson materials.
A sample slide presentation is available for your review. Please log in to view all the class presentations available with your plan..
Lesson 1
Introduction
27 Slides
Lesson 2
Loops and Animation
19 Slides
Lesson 3
Creating a Scene
21 Slides
Lesson 4
Jumping over Obstacles
20 Slides
Lesson 5
Storytelling
23 Slides
Lesson 6
User Interaction
19 Slides
Lesson 7
Guessing Game
22 Slides
Lesson 8
Rotation
20 Slides
Lesson 9
Alien Invaders
17 Slides
Lesson 10
Music and Animation
18 Slides
Lesson 11
Instruments and Tempo
19 Slides
Lesson 12
Broadcasting Messages
18 Slides
Lesson 13
Time Limits
17 Slides
Lesson 14
Message Driven Programming
18 Slides
Lesson 15
Pop the Balloon
18 Slides
Lesson 16
Animation with Movement
18 Slides
Lesson 17
Obstacle Course
19 Slides