Python Basics
Get acquainted with the basics of Python programming.
22 Activities:
- Introduction
- Toxic Jungle
- What Are Comments?
- Onward and Ahead!
- Around the Corner
- U-Turn
- Enemy Spotted
- Scale the Slopes
- Straightforward
- What Are For Loops?
- What Is Indentation?
- Loop Ahead!
- Fire, Forward, Repeat
- Zig-Zag
- Jump!
- Jump, Forward
- Forward, Jump
- Output
- ASCII Art
- Naming Conventions
- Syntax and Debugging
- Review
Conditionals
Explore boolean values, boolean logic, if statements, and while loops.
14 Activities:
- What Are Conditionals?
- Path Left
- Path Right
- More Turns!
- What Is an Else?
- Death Valley
- Traps
- What Are Nested Ifs?
- G for Grandeur
- What Is A While Loop?
- Detect a Path
- Around the Gap
- Debug Challenge
- Review
Variables
Learn about variable initialization, declaration, and more.
19 Activities:
- What Are Variables?
- Fuel Up
- Stockpile
- Rocket Jump
- What Are Strings?
- Hack the Trap 1
- How Do You Define Multiple Variables?
- Let Loose
- It's a Toughie
- Hack the Trap 2
- Obstacle Course
- What Are Expressions?
- Trickier Trap 1
- What Are Numbers?
- What is Operator Precedence?
- Trickier Trap 2
- What Are Lists?
- Variables Review
- Expressions and Lists Review
Turtle Graphics
Create graphics and user interfaces with the Turtle module.
10 Activities:
- The Turtle API
- Setting up the Screen
- Creating Turtles
- What Is a Sprite?
- Moving and Drawing with the Turtle
- Writing Your Own Functions
- Key Detection
- Asteroids
- Turtle Review
- User Interaction Review
Game Design
Learn how to design games with an interactive canvas — and write programs that respond to key-presses, mouse events, and more.
10 Activities:
- Adding a Delay with Timers
- What Are Game Loops?
- More on Lists
- Review
- Make a Game: Frogga
- Step 1: Game Setup
- Step 2: Set up the Player Sprites
- Step 3: Create Cars to Avoid
- Step 4: Create the Game Loop
- Step 5: Add Player Controls
Capstone Project
Put together everything you've learned to create a fun, playable arcade game.
7 Activities:
- Introduction
- Setup Code
- Creating the Turtle
- Creating the Scoreboard
- Creating the Paddle
- Adding Movement Functions
- Complete the Breakout Game