🎮 Text-Based Dungeon Game: Escape the Cave!

⏳ Time Estimate: ~3 Hours

✅ Difficulty: Beginner-Friendly

📚 Concepts Covered: Python Chapters 1–7

🧠 Bonus: Introduces the random module (exciting + easy)


🧙‍♂️ Overview

You're trapped inside a mysterious cave system filled with monsters, traps, and treasures. Your only goal?

Escape through 5 deadly rooms alive.

You’ll need smart choices, quick decisions, and a bit of luck.


🛠️ Core Features & Concepts

✅ Feature 💡 Python Concept Used
Game loop while loops, break
User input input() function
Decisions if, elif, else
Random events random.randint() (new module)
Room mechanics functions
Health system Variables + conditions
Inventory Lists (optional)
Loop control break, continue, pass
String operations e.g. "open" in command

🔧 Modules Used

import random  # For randomness in events

Example:

damage = random.randint(5, 20)

This makes the game exciting and unpredictable!