Key Terms:
Code
Condition
criterion
false
true
program
pseudocode
flowchart
variable
Lesson Plan: Racing Game
Create a two-player racing game in which users control movement with the keyboard.
Learning Objective
I will create a two player racing game using coding concepts I know with the Scratch platform
Success Criteria
I can code Event and Motion blocks in Scratch
I can create a program for a 2 player racing game in Scratch.
How can you use And/Or operators?
Computer Science Concepts
Events
Movement
Repeat blocks
Vide the videos below to
Recap the last activity and have students log in to the CS First website using their CS First accounts.
Students watch videos and create a "Racing Game" project in Scratch.
Check in with students as they watch the videos and complete their projects.
Video 2: Students are only using "event" blocks (dark gold) and "motion" blocks (blue). Look for students who have many different color blocks on their screen, and redirect them. It's okay for students to experiment and try different blocks, but filling the scripting area with many unrelated blocks may signal that a student is confused.
Video 3: If students want to move the sprite backwards, instruct them to try using a "move" block with a negative number.
Students choose Add-ons to enhance their project.
When there are five minutes left in class, instruct students to find the Wrap Up page and complete the
short survey.
Instruct students to share their project in Scratch and to also show it to a neighbor/classmate.
Discuss the activity and facilitate a brief discussion about what students learned and experienced.
What was your favorite part of this activity?
What do events do in computer science? [answer: tell code when to run]
What was it like to play your game with someone else?
If you get stuck, review the Racing Game Solution Sheet.
Lesson Plan:Maze Game
In this activity, students create a game in which the player guides a sprite through a maze.
Learning Objective
I will create a Maze game.
Success Criteria
I know how to code a maze using Scratch.
What are Conditional Statements
How do you use if/then/else?
What are flowcharts?
Computer Science Concepts
If-then statements (control flow)
Boolean blocks (conditions)
Maze Game Starter project
Maze Game Example project
If you get stuck, review the Maze Game Solution Sheet
Make the sprite follow the mouse pointer.
Make the sprite follow the mouse pointer forever.
Make the sprite follow the mouse pointer when the sprite is clicked.
Recap the last activity and have students log in to the CS First website using their CS First accounts.
Students watch videos and create a "Maze Game" project in Scratch.
Check in with students as they watch the videos and complete their projects.
Video 2: Look for students who drag the sprite to move it, rather than clicking on the sprite and allowing the sprite to follow the mouse pointer.
Video 3: Watch for students who have difficulty adding the edge color to their "touching color" block.
To add this color, students should click on the color in the block, then select the edge of the maze.
Video 4: If students need help figuring out what celebration to program, ask some guiding questions.
Examples: What would you do if you won a game? Have you tried experimenting with a few different blocks to see what happens?
Students choose Add-ons to enhance their project.
When there are five minutes left in class, instruct students to find the Wrap Up page and complete the
short survey.
Instruct students to share their project in Scratch and to also show it to a neighbor/classmate.
Discuss the activity and facilitate a brief discussion about what students learned and experienced.
What was your favorite part of this activity?
What do events do in computer science? [answer: tell code when to run]
What do if statements do in computer science? [answer: allow a computer to make decisions: "if this, then this"]
Lesson Plan: Pong Game
TEKS 6-2(B) CT (B) Computational thinking:
Learning Objective
I can code a Pong video game
Success Criteria
I can code a ball to bounce.
I know how code a paddle to move and bounce a ball from it.
What is the user input for the Talent Show Clicker Game
What is the reason the clicker game has a timer and how did you program it?
How do you program projectiles?
Computer Science Concepts
Loops, Variables
Game Design Concepts
Game Score
Win/Lose Criteria
Randomization
Animation
What the video below.
Write down what it takes to create a Pong game in Scratch.
What do you think you can add to make the game more fun?
Use the Pong Game Cards below to create your Pong game. Make changes to make it your own.
Use the Video below to help with designing and coding your Pong game.