A simple text-based C++ adventure game where you explore rooms, pick up a sword, and face off against a goblin (Sort of).
- Start in the main menu
- Enter the dungeon and explore different rooms
- Pick up the sword in the Armory
- Face the goblin in the Hallway
- Make decisions through numbered menu options
โ
ASCII dungeon art
โ
Room navigation (Menu โ Entrance โ Armory/Hallway)
โ
Sword pickup mechanic
โ
Enemy encounter logic
โ
Clean code with reusable functions
- Clone the repo:
git clone https://github.com/your-username/dungeon-quest.git- Compile:
g++ -o dungeonquest main.cpp- Run:
./dungeonquest