Rotate your device.
Turn off orientation lock in device settings.
Your browser is not supported. Please upgrade your browser to one of our supported browsers. You can try viewing the page, but expect functionality to be broken.
CS in Algebra curriculum and content is being deprecated. Within the next few months, this lab will no longer be available. Please check out Bootstrap: Algebra instead. Learn More.
Rotate your device.
Turn off orientation lock in device settings.
Can you add just 3 blocks to help me solve a more complex maze? If you do it right, I can walk any curvy path no matter the length.
This is a modal window.
Beginning of dialog window. Escape will cancel and close the window.
End of dialog window.
Welcome to your first hour of code! Let's dive right into your first taste of programming.
We'll be using Blockly, a visual programming language where you drag and drop blocks to write code.
Most code is typed, but Blockly is visual. Each blocks corresponds to a line of "real" code.
You'll learn the foundations of computer science, concepts which are used anywhere from making apps to controlling the Mars rover.
A program is a set of instructions for your computer to follow.
The goal of your first program is to get an Angry Bird through a maze to hit a Green Pig.
The left side is the maze where your program is run. The instructions for each puzzle are below the maze.
The middle toolbox has the commands for the Angry Bird. You'll use these to build your code.
On the right is your workspace where you'll drag blocks from the toolbox to build your program. To delete a block, drag it to the trash in the corner.
Each block is one instruction. If you drag a "move forward" block to your workspace and press "Run Program", the bird moves one space on the maze.
To do more than one action, you can drag many blocks to your workspace and attach them together. The bird will do the commands from top to bottom.
If you run a program and want to fix it and try again, press the "Reset" button.
Let's go get those pigs!