Lessons

Step-by-step lessons in six tracks, from unplugged games to real Python code.

  • Robot Decisions

    Robot Decisions

    Teach your programs to choose between different actions with if, elif and else, then build a robot mood program and…

  • Loops and Spirals

    Loops and Spirals

    Use for loops, range and colour lists to count, repeat and draw spirals with the turtle.

  • Pack Your Backpack

    Pack Your Backpack

    Store lots of things in one variable with a list, then add to it, count it, pick items from it…

  • Teach Python New Words

    Teach Python New Words

    Invent your own commands with def, give them parameters, and use them to draw stars and flowers.

  • Dice, Coins and Fortune Cookies

    Dice, Coins and Fortune Cookies

    Use Python’s random module to roll dice, flip coins, tell fortunes and scatter confetti.

  • Keep Going While

    Keep Going While

    Learn the while loop, which repeats until something changes, and build a countdown and a guess-the-number game.

  • What Makes a Game?

    What Makes a Game?

    Find the secret ingredients that make a game fun, then design your own board game on paper.

  • Guess the Number

    Guess the Number

    Build a number guessing game in Python with a secret number, a while loop and “too high” and “too low”…

  • Rock, Paper, Scissors

    Rock, Paper, Scissors

    Program a best-of-three Rock, Paper, Scissors match against the computer using random.choice and if statements.

  • Dice Race

    Dice Race

    Make Beep and Pixel race to 20 with dice rolls, then test whether going first is really fair.

  • Quiz Master

    Quiz Master

    Build a quiz game that asks questions from a list, checks the answers and keeps a score.

  • Choose Your Path

    Choose Your Path

    Write a friendly text adventure where the player’s choices change the story, using functions to keep the code tidy.