In Storytelling, students use computer science to tell fun and interactive stories. Storytelling emphasizes creativity by encouraging club members to tell a unique story each day.
In Friends, students are encouraged to sign up with a friend or make a new friend in the club. Friends emphasizes teamwork by allowing club members to tell the story of how their friendship started and imagine a company together.
In Fashion & Design, students learn how computer science and technology are used in the fashion industry while building fashion-themed programs, like a fashion walk, a stylist tool, and a pattern maker.
In Art, students create animations, interactive artwork, photograph filters, and other exciting, artistic projects.
In Social Media, students create fun social media style applications and games while learning about the computer science concepts that enable these programs to work.
In Sports, students use computer science to simulate extreme sports, make their own fitness gadget commercial, and create commentary for a big sporting event.
In Music & Sound, students use the computer to play musical notes, create a music video, and build an interactive music display while learning how programming is used to create music.
In Game Design, students learn basic video game coding concepts by making different types of games, including racing, platform, launching, and more!
Students create fun and complex animated projects. This is an advanced curriculum, which means it teaches new concepts that are recommended for students who have already participated in at least two other CS First themes.
In this sample activity students animate an ocean wave to create a setting, then tell a story that takes place on the high seas.
In this sample activity students tell a story using the characters from Cartoon Network’s "The Amazing World of Gumball."
Be a designer and programmer – bring the Google logo to life using code.
This video lets you protect your story with a secret password.
Anyone can look at your code to know this password, so it isn’t very secure.
To ask for the secret password, you will use a block that allows for user input called the “ask” block.
From the “sensing” menu, place an “ask” block in the sprites area.
In the white box, type the question you want the sprite to ask.
For this example, the question is “what is the secret password?”
Click on the block.
The sprite asks the question, then a box appears at the bottom of the stage.
This box is where the person watching your story will type in what they think the password is.
What they type in this box will be saved in a variable called “answer.”
To see what is stored in that variable, go to the “sensing” menu, and click on the checkbox next to “answer.”
Type an “answer” in the box at the bottom of the stage.
You’ll notice what you type shows up in the blue box at the top left of the stage.
Place the “ask” block under the “when flag clicked” block.
Now, tell the sprite to repeat asking the password until the user gets it right.
From the “control” menu place a “repeat until” block after the “ask” block.
This may put the “repeat until” block around your story - take the story out and place it under the “repeat until block.
Next, program the condition that will stop the repeating - when the answer is equal to the secret password.
From the “operators” menu, place the “equals” block inside the “repeat until” block.
From the “sensing” menu, place “answer” on one side of the equals block.
Type the secret password on the other side of the “equals” block.
Next, place actions that should repeat until the password is entered inside the repeat loop.
From the “looks” menu, place a “say” block inside the “repeat until” loop.
Make the sprite say “Nope!”
Then ask the question again.
From the “sensing” menu, place an “ask” block after the “say” block.
Test the code by clicking the green flag.
The sprite asks for the password.
First, get it wrong.
The sprite says “nope” then asks again.
Get it wrong again.
The sprite says “nope” and asks again.
This time, get it right.
The sprite stops asking the question and instead starts the story.
Click the stop sign to stop the story.
Try getting the answer right the first time this time.
The sprite doesn’t ask for the password again!
But wait - the friend shows up 8 seconds after the green flag is clicked, regardless of the secret password.
That’s because the code tells the friend to show up 8 seconds after the green flag is clicked.
The wait shouldn’t even start until the correct secret password has been entered.
The “my” sprite knows when this happened, It can let the “friend” sprite know using the “broadcast” block.
From the “events” menu place a “broadcast” block after the “repeat until” loop.
From the dropdown, select “new message” and give it a name that makes sense, like “start story.”
Next, click on the friend sprite.
Disconnect the “wait” block from the “hide block” From the “Events” menu, place a “when I receive” block on top of the “wait” block.
Now it’s your turn: Ask for the secret password using an “ask” block.
Keep asking until the password is correct using “repeat until” “answer” “equals” “ask” and “say” blocks.
Let the friend sprite know the story has started with a “broadcast” block.
and finally, detach the entire block stack after the “hide block” and connect it to a “when I receive” block on the friend sprite.