About Project
A deeply immersive text-based RPG engine written entirely in C, leveraging the ncurses library for rich terminal UI rendering. The game features a procedurally generated dungeon system using cellular automata, a turn-based combat system with dice-roll mechanics, dynamic NPC dialogue trees, and a branching narrative that adapts to player choices. Every playthrough generates unique dungeon layouts, enemy placements, and loot tables.
Key Features
Procedural Dungeons
Cellular automata-based dungeon generation creating unique layouts, rooms, corridors, and secret passages every playthrough.
Turn-Based Combat
Dice-roll combat system with attack, defend, magic, and flee options. Damage calculated from stats, equipment, and random variance.
Inventory System
Weight-based inventory with weapons, armor, potions, scrolls, and quest items. Equipment affects stats and combat outcomes.
Dynamic Story
Branching narrative with multiple endings based on player choices, NPC relationships, and completed quests.
ncurses UI
Full terminal UI with color-coded text, status panels, minimap, combat log, and animated ASCII art monsters.
Save/Load System
Binary save files preserving entire game state including dungeon layout, inventory, quest progress, and NPC disposition.
Tech Stack
Project Preview
The game renders in a multi-panel terminal layout: a central viewport shows the dungeon map with ASCII characters, a side panel displays character stats and inventory, and a bottom panel shows the combat log and narrative text with color-coded highlights.