A text-based dungeon adventure game where players explore rooms, fight monsters, and manage resources to reach the boss room.
-
Multiple Character Classes
- Knight: Balanced warrior
- Archer: Ranged specialist
- Wizard: Magic user
- Worker: Resource management specialist
-
Resource Management
- Collect copper and wood for factory upgrades
- Manage money for item purchases
- Build ladders for quick boss room access
-
Factory System
- Upgrade various factories (Armor, Arrow, Axe)
- Build Magic Towers
- Special abilities unlock at higher levels
-
Dynamic Gameplay
- Monster encounters
- NPC interactions with class-specific dialogues
- Shop system for item purchases
- Monster respawn system (every 60 turns)
- C++ compiler (g++ recommended)
- Make
- Clone the repository
- Run
make
to build the game - Execute the game with
./dungeon
To clean build files:
make clean
Dungeon
: Main game enginePlayer
: Player character managementRoom
: Room system and navigationFactory
: Resource and upgrade managementGameCharacter
: Base class for all charactersMonster
: Enemy systemNPC
: Non-player character interactions
- Start game and create player
- Explore rooms and collect resources
- Interact with NPCs for guidance
- Upgrade factories and build ladders
- Fight monsters and reach the boss room
- Initial game screen with title and welcome message
- Displays the game's main menu interface
- Shows available options to begin the adventure
- Player name input screen
- Choose your character's name before starting
- Sets up your initial character identity
- Main game interface showing room layout
- Displays available movement directions
- Shows current room status and surroundings
- Safe haven where players can:
- Rest and recover health
- Access factory upgrades
- Change character class
- Build ladders (requires Worker level 3)
- Monster encounter interface
- Shows combat options and status
- Displays health, attack, and defense information
- Allows for strategic combat decisions
- Factory upgrade interface showing:
- Available factory types (Armor, Arrow, Axe)
- Current factory levels
- Required resources for upgrades
- Special abilities unlocked at higher levels
- Resource gathering interface
- Shows collected items (copper, wood)
- Displays inventory status
- Resource management system
- Final challenge interface
- Boss room entrance
- Shows ladder placement option
- Displays final battle preparation
- NPC dialogue system
- Class-specific conversations
- Quest information and guidance
- Item purchase system
- Available equipment and upgrades
- Currency management
- Character progression
- Level-based abilities
- Class-specific upgrades
- Class-specific powers
- Wizard's fire ability
- Worker's resource gathering bonus
- Monster regeneration system
- 60-turn respawn timer
- Dynamic dungeon population
This project is released into the public domain under the Unlicense. See LICENSE for details.