🐍 PyQuest🏰 Game: Haunted Mansion · 🏰 Step 5: The Full Haunted Mansion
⭐ 0 XP🐍 Python is waking up…

Step 5: The Full Haunted Mansion 🏰

Last step. Time to make this a whole game β€” the kind you'd actually hand to a friend and say "here, try to escape." πŸ”₯

A title banner sets the mood. Repeat a symbol with *:

print("=" * 42)
print("      🏰 THE HAUNTED MANSION 🏰")
print("=" * 42)

Victory art for the players who make it out:

print("*" * 42)
print("       πŸŽ‰ YOU ESCAPED! πŸŽ‰")
print("       πŸ† πŸ₯³ 🎊 πŸ†")
print("*" * 42)

And a real game has two ways to finish: a win πŸ† and a loss πŸ’€. Both should feel like an ending, not like the program just ran out.

Your mission

Build the complete Haunted Mansion:

  1. A title banner at the top
  2. At least 3 decision points β€” three input() moments
  3. Your inventory puzzle: find an item on one path, need it later
  4. A losing ending (out of lives, or wrong choice) πŸ’€
  5. A winning ending with celebration print-art πŸŽ‰

Everything you've learned is in this one program: variables, f-strings, input, if/elif/else, lists, and in. Go make something spooky. πŸ¦‡

Your code

Press β–Ά Run to see what your code does!