Skip to main content
The Hour of Code
Pages and Files
Teacher Lesson Plans
Twitter - #DublinHOC
Jigsaw & Maze
My Robotic Friends
Coding with Blockly
Middle School 6-8
Coding with Blockly
High School 9-12
HS TI Calculator
Games TI Basics
Progr TI Basics
Create an Account
Course 1 Gr K-1
Course 2 Gr 2-5
Course 3 Gr 4-5
Course 4 Gr 4-8
About Digital Animation
Arduino Blink Challenge
At the conclusion of this activity, the student will learn the following coding concepts:
Patterns and Procedures
Computer Coding or Computer Programming is all around us. There is programming "behind the scenes" in many things that you encounter in your daily life. Whether or not you aspire to be a computer programmer or not, learning the ideas behind computer programming will be helpful. This lesson is designed to be fun, challenging, and teach you a little bit about computer coding. Enjoy!
Learn core programming logic starting from super-basic programming. Learn how to sequence commands, identify patterns, use procedures, overloads, conditionals, and utilize loops!
This activity begins very basic and gets increasingly challenging. It may be more helpful to work in teams of 2-3 kids so that you can talk through challenges together. If you are on a computer, click the Web button to get started. The other buttons will help you if you want to download the app to an iOS device or an Android device.
Click a command to move it into the command box (MAIN or PROC). Click a command in the command box to remove it.
BE the robot. Put yourself in the robot's position... which way does the robot turn?
Turns (left, right) are just turns. You have to use the forward command to move.
The jump command makes the robot jump in the direction he's looking.
The jump command will only go UP one level, but can jump DOWN multiple levels.
Look for patterns then put them in the Procedures sections (P1 or P2).
Try to do these challenges in as few steps as you can.
In more complex puzzles, write your commands in parts. Do a little, try it, then build on it.
If you try and fail, change the part of your code that went wrong, and try again. That's called "de-bugging."
How does Lightbot Teach Programming?
Teacher Lesson Plan
help on how to format text
Turn off "Getting Started"