Hey Team, welcome to Activity 2 of Google CS First Sports!
Get ready to channel your inner sports anchor voice while programming athletes to do somecool moves.
In this activity, you will build a competition project while you learn about the computerscience concept “events.”
An event in computer science is something that makes an action happen.
Events in Scratch start with the word "when," and they're placed at the top of block stacksto make the code start running.
Events in computer science are a lot like events in your life.
For example, when the bell rings at the end of school, you leave school, or go to an after-school club.
The bell ringing is an event.
Your reaction is to leave school or go to an after-school club.
You can also find events in sports.
For example, when a basketball player steps out of bounds, the ball is turned over tothe opposite team.
In the games shown, computer scientists like you use events to model those occurrence in a game.
You’ve used events before.
The “when flag clicked” block you used in Activity 1 causes something to happen whenthe flag is clicked.
In this activity, you’ll use events to make athletes perform while a commentator talksabout the performance.
From here on out, every activity you do will offer a couple starter projects withdifferent sports themes to choose from.
Pick the sport you like the most!
The example may not always show the sport you choose, so if the video says to clickon the tennis ball sprite but you chose the volleyball starter project, just click thevolleyball sprite instead.
For this activity, choose a starter project from these 4 options: cheerleading,dance, karate, or basketball.
Each project includes athletes in different poses.
Click on the starter project link next to this video for the sport you chose.
It will open in another tab.
Select "remix," then sign in to Scratch using the information from your CS First passport.
Next, most starter projects contain more sprites than you need to do the activity, so you getto choose the ones you like.
This project contains several commentator sprites.
Pick one commentator sprite that you want to program and delete the other sprite.
After you open the starter project and choose your sprites, come back to this CS First tab,and click on the "next" arrow to move on to the next video.
Here's the gameplan: First, click a starter project link.
Then, click "remix," and sign in.
Once you finish, return to this tab, and press the "next" arrow to move on to the next videoto program the athletes' routines.