In this code activity, students use the programming language Python to learn about programming and computational thinking. Students are introduced to foundational computational thinking concepts, such as controlling the flow of the program using loops and decisions.
The activity is structured as sequence of interactive notes and questions that students are challenged to answer. As they progress, students will learn to write their own text-based adventure game.
Students will:
Have you ever read a ‘choose your own adventure’ book? Once your students have completed this Hour of Code activity they have all the basics they need to code their own text-based adventure game.
A good first step is to have students come up with ideas for a narrative, then draw a flowchart to map out how their game will work, before they get started writing the code.
Register as a teacher for free!
Use drag-and-drop blocks to write your own programs, learn about sequence and ordering, and create fun monster characters!
Start coding now!Learn about the differences between animals, and how Biologists use programming to help them do science! You'll use the programming language Python to classify animals based on their characteristics.
Start coding now!This Cyber Security Mini course is a short introduction to staying safe online. You'll learn about secure passwords, phishing, security settings, social media and more!
Start coding now!Use the programming language Python to build a friendly chatbot called "Eliza". Can she fool your friends into thinking she's a human?
Start coding now!Use the programming language Python and instruct a turtle to draw flags from around the world! How many countries do you know?
Start coding now!A Navy captain is held captive inside his ship. A major landmark has gone dark. And weapons are pointed at Sydney’s busiest sites… It’s all connected, and it’s up to you to free the captain, track down the culprit, and stop them. Students will need to trace clues, solve puzzles, and figure out how to stop a large scale simulated cyber attack before it’s too late.
Start coding now!Use the programming language Python to make speedy changes to images. Make fun image editing programs and make your own image filter!
Start coding now!Use the programming language Python and instruct a turtle to draw fantastic snowflakes with code! Brrr, is it getting cold in here?
Start coding now!Build programs using friendly blocks and instruct a turtle to draw fantastic snowflakes with code! Brrr, is it getting cold in here?
Start coding now!Get started with the BBC micro:bit. Use the Python programming language to make a pet that you can feed and play with! No micro:bit required.
Start coding now!Get started with the BBC micro:bit. Use friendly blocks to make a virtual pet that you can feed and play with! No micro:bit required.
Start coding now!This activity is designed to introduce branching. Use the Blockly version of Python and its turtle module to draw and colour hydrangea flowers!
Start coding now!Ever wanted to create your own emoticon? Use the programming language Python to explore emoticons and text manipulation.
Start coding now!Use the visual programming language Blockly to investigate space and reach for the stars.
Start coding now!Use the programming language Python to model a disease outbreak. Can you solve the curious case of the glowing nose?
Start coding now!