Code

Introduction

                        Write your first computer program

Learn the basic concepts of Computer Science with drag and drop
programming. This is a game-like, self-directed tutorial starring video
lectures by Bill Gates, Mark Zuckerberg, Angry Birds and Plants vs.
Zombies. Learn repeat-loops, conditionals, and basic algorithms.             

Task

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 block to your workspace
and attach them together. The bird will do the commands from top to
bo

If you run a program and want to fix it and try again, press the "Reset" button.

Let's go get those pigs!

ttom.

Process

Credits