Welcome back, coders. Today you´re working to build a simple text-based game:
Yesterday left some damage—not just in your code, but in the system itself. It glitched. It scrambled everything. Whole characters and scenes were thrown into chaos. The good news? You’re the repair team. The mission starts now. The world you're entering is not quite normal. Each location you visit feels familiar, but off. A floating scoreboard here, a painting that talks there... The code is alive, and it's acting strange. Eight people are missing, and each one is stuck inside a different part of the system.
You must write the story and code the logic that rebuilds this world one scene at a time. In each location, you’ll create a short interactive program that:
Introduces the scene (you’ll print the story I give you)
Lets the player make a choice or solve a challenge
Uses real Python (input, variables, loops, functions, lists, etc.)
Unlocks or "rescues" one missing character
By the end of your game, the full story should make sense—and the broken system should be restored. We will play the game at the end of the class so it will need to be a single code file running in online-python.com
You’ll work in a small team (3 people)
Each of you will code separate scenes that connect together
You’ll only be allowed to use ChatGPT once to check or fix your code
You must include at least 4 working pieces of code total
At the end, we’ll play your RPG together and see if it actually works
Working code (first and always)
Printed story sections that match the scenes I gave you
Funny, strange, or surprising moments that make the player want to keep going
A completed rescue list by the end of the game
This is your chance to turn code into creativity—and to fix what broke.
Here are the three coder roles in more detail: