You’re writing the middle part of the game.
The world is falling apart in strange ways. You’ll code three locations where the player has to fix problems and keep going.
You must print the short story text at the start of each scene. Then code the interaction.
Print this at the start:
You land in a room filled with giant stone drums. The walls pulse like speakers.
Someone is stuck on a stage yelling “DROP THE BASS!” but nothing is working.
A glowing button says: ‘Fix the rhythm or stay here forever.’
Your tasks:
☐ Print an intro message like “Welcome to the Beatstone Temple.”
☐ Use a for loop to repeat a sound (e.g. "BOOM!") four times
☐ Ask the player to input the final beat
☐ Use an if statement to check if the answer is "BOOM!"
☐ If correct, print something like: “The beat is saved. Everyone nods in approval.”
☐ Add "MusicPerson" to the rescued_students list
Print this at the start:
The scene switches. You’re now sitting in a racing car with neon wheels.
A voice says: “Welcome to Track 99. Good luck.”
Someone is clinging to the hood yelling, “GO FASTER OR I’M OUT!”
Your tasks:
☐ Ask the player to enter a number for speed (1–10)
☐ Multiply the speed by 5 and store it in a variable boost
☐ Use an if statement:
If boost > 30, print: “The car zooms. Passenger survives.”
Else, print: “You hit a cone and drive off the track.”
☐ Add "RacerPerson" to rescued_students
Print this at the start:
You enter a dark room full of machines doing strange things.
A fridge walks past. A toaster levitates. One machine beeps in Morse code.
A voice says: “Select a machine to run diagnostics.”
Your tasks:
☐ Create a dictionary of 3 machines and what they do
Example (invent your own):
machines = {
"fridge": "walks slowly and hums",
"toaster": "launches toast vertically",
"coffee_maker": "screams once per hour"
}
☐ Use a for loop to print each machine and its description
☐ Ask the player which machine to inspect
☐ Print a message that matches the chosen machine
☐ Add "MakerPerson" to rescued_students
☐ Let the player type "inspect all" to print everything again
☐ Add one more machine to the dictionary
☐ Use .upper() or .lower() to make responses feel like a robot talking