Shadow Ridge Middle School Computer Science

Tynker 202

Mrs. Hulstrom

 

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

Avoiding Obstacles (Lesson 6)

Introduction

Game on! This lesson is packed with fun games and projects! By the end of this lesson, you will have applied coding concepts while creating a car navigation game, a maze game, a tricky obstacle game with moving obstacles, and a paint program!

New Code Blocks

  •  : Set how an Actor behaves when it rotates.
  •  : Change the x-coordinate of an Actor by the specified number of units.
  •  : Change the y-coordinate of an Actor by the specified number of units.
  •  : Play the specified sound file and wait until it is finished playing.
  •  : Set the pen’s shade (lightness) to the specified amount.
  •  : Set the position of an Actor to the position of the parameter.
  •  : Send a message to an Actor, with the specified parameters.

Objectives

you will...
  • Use code blocks to move Actors
  • Create a car game, maze game, obstacle game, and paint program

Warm-Up (15 minutes)

  • You that you are going to create several fun games and projects today using Tynker, and one of the games you will create is an obstacle game!
  • Ask you to raise your hand if you’ve played an online obstacle game.
  • Discuss common features of online obstacle games. (There are enemies you need to avoid, the obstacles sometimes move, and there are different levels.)
  • Ask, “What do you think makes a good online obstacle game? Is it the sound? Moving obstacles? Level of difficulty?”
  • If you were to create your own online obstacle game, what features would you include?

Activities (45 minutes)

Facilitate as you complete all Avoiding Obstacles modules on your own:
1. Race Car Example (Example)
  • you will play a completed Race Car game. you’ll create your own version of this game in the next module!
  • How to play: You to use the arrow keys (web) or tilt your device (mobile) to move the racer.
2. Race Car (DIY)
  • In this DIY (do-it-yourself) project, you will program a racer to move left and right.
  • Did you finish early? Direct your attention to the bonus activity in “Step 4” of the tutorial, which encourages you to program your racer to move only up or down instead of left or right.
  • Optional: Ask your you to try different angles in the “point in direction” blocks.
3. Escape the Maze Example (Example)
  • you will play a completed Escape the Maze game. you’ll create your own version of this game in the next module!
  • How to play: You to use the arrow keys (web) or tilt your device (mobile) to navigate the blue square through the maze.
4. Escape the Maze (DIY)
  • In this DIY project, you will learn how to make a challenging maze game! Whenever the Actor touches the maze walls, a buzzing sound will play and the Actor will return to the starting point.
  • you will need to program the Actor to move and change costumes when it touches a maze wall.
  • Are you struggling with the bonus challenge? Hint: try changing the values of the “change x by” and “change y by” blocks.
5. Shield Racer (Puzzle)
  • To solve this puzzle module, you will need to program the racer to draw a magenta line to protect the rocket ship.
  • HINT: What code block can we use to set the line’s color to magenta?
6. Obstacle Game Example (Example)
  • you will play a completed Obstacle Game where you’ll need to move a square across the Stage while avoiding the moving obstacles. you’ll create your own version of this project in the next module!
  • How to move the square: You to use your arrow keys.
7. Obstacle Game (DIY)
  • In this DIY project, you will create a tricky obstacle navigation game!
  • Activities include programming controls for the square and making the obstacles move.
  • Are you struggling with the bonus challenge?
  • HINT: Try changing the values of the “glide” blocks.
8. Paint Program Example (Example)
  • You will play a completed Paint Program project. You’ll create your own version of this project in the next module!
  • Try out each button on the black bar that’s located at the top of the Stage. This will help you understand the functions of the buttons in the next module.
9. Make Your Own Paint Program (DIY)
  • In this DIY project, you will create a paint program that uses different buttons to activate different colors, shapes, and settings.
  • Coding activities include using pen drawing to set up the paintbrush and programming buttons that control the paint color and change the shade of the paint.
  • Did you finish early? Add new colors!

Extended Activities (10 minutes)

Paint Program 2.0
  • Work with a partner and brainstorm at least three different ways you can improve your paint program. Are there more colors you can add? What about brush sizes? Next, make at least two improvements to your paint program using Tynker.

U.S. Standards

  • K-12 CTSA Computer Science Standards (Revised 2017)
    Computer Science Teachers Association:
     
    • 1B-AP-10
    • 1B-AP-11
    • 1B-AP-12
    • 1B-AP-15
    • 2-AP-12
    • 2-AP-13
    • 2-AP-15
    • 2-AP-16
    • 2-AP-17
    CCSS-Math: MP.1
  • 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.17
  • ISTE: 1.c, 1.d, 4.d, 5.c, 5.d, 6.b
     
 
Shadow Ridge Middle School
12551 Holly Street
Thornton, Colorado 80241
720-972-5040