Text Adventure
Build a one-room text adventure game! Describe a scene, offer choices, and branch to different outcomes using everything you learned in Unit 2.
What You're Building
You wake up in a mysterious room. Three doors stand before you โ red, blue, and green. Your program will describe the scene, let the player choose a door, and then reveal what's behind it. One door leads to a second choice (nested decision!).
๐ญ Describe the Scene
Print at least 3 lines describing where the player is and what they see.
๐ช Offer 3 Choices
Ask the player to choose "red", "blue", or "green" door via input().
๐ Branch per Choice
Each door leads to a different outcome with unique text.
๐ฐ Nested Decision
Behind one door, the player faces a second choice (at least 2 options).
๐ฎ Simulated Player Input
Pre-loadedSince we can't type live input in the browser, choose what the "player" will type. Your code's input() calls will receive these values in order.