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.
If the user answers “yes” to the first question, then they will go to one world. If he or she answers anything else, like “no”, “maybe,” “probably”, “I’m not sure.” “Hopefully so,” “yah”, “yep, “mos def,” – literally any other word – then they will go somewhere else.
To check if the answer is yes, use the equals operator found in the operators menu.
Drag the answer variable into the first blank, and type “yes” into the other.
You just programmed a condition! Now, you need to tell the computer what to do if “answer” equals yes, then what to do if answer equals anything else.
Click control, and drag out an “if/else” block. Attach it below the “ask” block.
Drag the condition into the top of the if/else block.
If the answer equals “yes,” then the backdrop should change.
Click the looks menu, drag a “switch backdrop to” block into the “if/else” statement, and change the value to the name of the appropriate backdrop. This example uses “woods,” but you will choose the first backdrop you previously selected for your story.
Test it now. Click the block stack, and enter “yes.” The backdrop should switch to the backdrop you selected. Great! “If” the user answers something other than “yes,” the stage should change to a different backdrop.
Drag another “change backdrop” block into the “else” portion of the if/else statement, and change the value to your second backdrop. Click the block stack to test this again, and enter “no.”
Great, it works. But, there’s one problem.
The backdrop never changes to the brick wall for the start of the story. To reset the backdrop to the brick wall at the start of the story, drag the “switch backdrop to brick wall” block to the top of the block stack. Finally, add a “when flag clicked” event to start this code. Click the green flag to test this again, and test some different answers to the main character’s question to find out how it will react.
In the next video, you’ll program different stories for each backdrop.