Spaces:
Sleeping
title: Dungeon Smasher
emoji: π
colorFrom: yellow
colorTo: pink
sdk: gradio
sdk_version: 5.33.1
app_file: app.py
pinned: true
tags:
- agent-demo-track
- AI dungeon master
- procedural generation
- worldbuilding
- intelligent NPCs
- storytelling
- RPG
- multi-agent
thumbnail: >-
https://cdn-uploads.huggingface.co/production/uploads/683d2ec2540df93aae2532f4/Xagf2XzjnOEUZB-a1ofXZ.png
π§ Dungeon Smasher
An Agentic Toolkit for Dynamic RPG Storytelling Built for the Hugging Face AI Agent Hackathon β Agent Demo Track π Overview
Dungeon Smasher is an experimental AI toolkit for building intelligent, reactive RPG environments. Rather than a finished game, this is a modular agent demo showcasing five core systems:
π DM Assistant Β· π₯ NPC Generator Β· πΊοΈ World Builder Β· π° Loot Designer Β· π Character Creator
Each module uses LLM reasoning and symbolic world logic to help GMs and players co-create immersive adventuresβno prep required. βοΈ Core Features Feature Description π AI Dungeon Master Orchestrates scenes, conflicts, and roleplay hooks with dramatic tone π₯ NPC Generator Builds named characters with secrets, flaws, goals, and voice πΊοΈ World Builder Assembles regions, ruins, factions, and mythic histories π° Loot Master Designs magical items that reflect player actions and narrative symbols π Character Creator Generates heroes with stats, backstories, class synergy, and emotional arcs π§ͺ Demo Capabilities
β Procedural setting, NPC, and loot generation β Modular agent logic with memory and context threading β Gradio-based interactive frontend for testing each system β Rich character builder with storytelling-first logic β Configurable, extensible, and fully open source π§ Demo Suggestions
Explore the toolkit using these suggested flows: π§ Dungeon Master Agent
Prompt with: "The players enter a ruined cathedral during a thunderstorm"
Watch it generate narrative tension, scene tone, and roleplay threads.
π₯ NPC Generator
Prompt with: "a cursed knight guarding forgotten ruins"
Get a complex NPC with motives, secrets, and drama potential.
πΊοΈ World Builder
Prompt with: "a coastal nation obsessed with prophecy"
Generates factions, politics, threats, and lore.
π° Loot Master
Prompt with: "a cursed artifact from a sunken temple"
Produces symbolic, story-linked loot tied to in-game values.
π Character Creator
Prompt with: "A storm sorcerer who fears their own power"
Returns stat blocks, class alignment, flaws, and heroic potential.
π οΈ Technologies
Gradio 5.33.1 β Live demo interface
OpenAI GPT-4 β Agent reasoning and generation
Python (modular) β Custom agent scaffolding and game logic
π How to Run
git clone https://huggingface.co/spaces/YOUR_USERNAME/DungeonSmasher cd DungeonSmasher
pip install -r requirements.txt python app.py
Or view the live app at: π https://huggingface.co/spaces/YOUR_USERNAME/DungeonSmasher π― Future Plans
Playable dungeon mode with live turn-based flow
AI narrator voice + dialogue puppeteering
Campaign memory and recurring characters
Dynamic player reputation, fear, and legacy
Fully voiced roleplay loop via multimodal input
π License
MIT License β Use freely, remix bravely. π¬ Final Note to Judges
On Friday June 6th, I was unexpectedly terminated from my job. This wasnβt just a professional setback. It triggered a cascade of urgent and high-stakes responsibilities and Iβve spent the past several days filing legal responses and preparing to escalate claims of retaliation, IP theft, and unlawful recording. Iβve had to act as my own advocate, researcher, and legal strategist, at present.
This sudden derailment had a significant impact on my ability to finalize my hackathon submission. While I still submitted something, it reflects only a fraction of what Iβd intended to build. I wanted to share this contextas an honest explanation of why my submission may seem incomplete or rushed and not as an excuse.
Iβm grateful for the opportunity to bring this to life and for the space to create, even amidst personal crisis.
Sincerely,
β Jesse W. Stucker (ghost logic.)