You are coding the start of the game. You’ll introduce the player, print the story, and let them interact with two locations.
You must print the short story text at the top of each section to guide the player. Focus on writing code that works.
Print this at the start:
You open your eyes in a classroom. The projector flashes an image of a dog in sunglasses.
Desks are upside down. There’s a banana on the keyboard.
On the whiteboard, someone wrote: "System error: students missing. Begin repairs."
Your tasks:
☐ Ask the player for their name using input()
☐ Print a welcome message using their name
☐ Print 3+ lines describing the classroom (keep it glitchy, sarcastic, or unusual)
☐ Create an empty list: rescued_students = []
☐ Create and print a list of strange objects in the room
Example:
objects = ["banana", "broken laptop", "flickering ceiling tile"]
print(objects)
Print this at the start:
The classroom flickers and vanishes. You’re standing on a baseball field.
The scoreboard floats in mid-air. The crowd is just cardboard goats.
A holographic pitcher appears: "Choose your gear. Try not to break anything."
Your tasks:
☐ Create a list: gear = ["bat", "glove", "helmet"]
☐ Ask the player to choose one: choice = input("Choose your item: bat, glove, or helmet: ")
☐ Use if, elif, and else to print different outcomes
☐ Add this line at the end: rescued_students.append("BaseballPerson")
Print this at the start:
You fall through the field and land in a cave. The walls shift like animated paint.
A giant floating brush passes by. A voice says: "Input three colors. Reboot this place."
Your tasks:
☐ Ask the player to enter 3 color names and store them in a list
☐ Use a for loop to print each color with a comment
Example:
for color in colors:
print(color + " added to the wall. It glows weirdly.")
☐ Write a function called reboot_art() that prints a one-line message
☐ Call the function
☐ Add another person to the rescue list:
rescued_students.append("ArtPerson")
☐ Add a line where a robot assistant says something useless
☐ Let the player “inspect” an object from the list and print a result
☐ Add one extra item to the object or gear list