Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
@@ -9,5 +9,142 @@ app_file: app.py
|
|
9 |
pinned: false
|
10 |
short_description: Multi-agent AI that smashes through D&D prep work.
|
11 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
|
13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
9 |
pinned: false
|
10 |
short_description: Multi-agent AI that smashes through D&D prep work.
|
11 |
---
|
12 |
+
🧠 Dungeon Smasher
|
13 |
+
|
14 |
+
An Agentic Toolkit for Dynamic RPG Storytelling
|
15 |
+
|
16 |
+
Track: #agent-demo-track
|
17 |
+
Keywords: #AI dungeon master, #procedural generation, #intelligent NPCs, #worldbuilding, #agent coordination
|
18 |
+
🌟 Overview
|
19 |
+
|
20 |
+
Dungeon Smasher is an experimental AI toolkit for building intelligent, reactive tabletop-style RPG environments. Rather than a finished game, this submission is a modular agent demo featuring:
|
21 |
+
|
22 |
+
🎭 DM Assistant · 👥 NPC Generator · 🗺️ World Builder · 💰 Loot Designer · 🐉 Character Creator
|
23 |
+
|
24 |
+
Each module is powered by LLM-guided reasoning and purpose-built to create dynamic, coherent narrative systems for fantasy worlds. It's the first step toward a truly adaptive, player-driven dungeon experience.
|
25 |
+
⚙️ Core Features
|
26 |
+
Feature Description
|
27 |
+
🎭 AI Dungeon Master Orchestrates scenarios, moral dilemmas, and world tone using symbolic AI logic
|
28 |
+
👥 Intelligent NPC Generator Generates named characters with motivations, secrets, goals, and voice tones
|
29 |
+
🗺️ World Builder Agent Procedurally assembles regions, political factions, ancient lore, and thematic conflicts
|
30 |
+
💰 Loot Master Crafts unique magical items and intelligently distributes rewards tied to playstyle
|
31 |
+
🐉 Enhanced Character Creator Creates PCs with full stat blocks, backstory, class synergy, and emotional traits
|
32 |
+
🧪 What Works in This Demo
|
33 |
+
|
34 |
+
✅ Interactive moral choice engine
|
35 |
+
✅ Seraphina + Malachar dual-voice guides
|
36 |
+
✅ Symbol evolution system (Hope, Ambition, Burden)
|
37 |
+
✅ Procedural NPC, item, and region generation
|
38 |
+
✅ Character builder with backstory + stat logic
|
39 |
+
✅ Gradio UI for testing agent modules
|
40 |
+
🧠 Agentic Architecture
|
41 |
+
|
42 |
+
Each tool is its own intelligent system, with shared memory and symbolic evolution. They can be run individually or woven into a shared campaign.
|
43 |
+
Agent Role What It Does
|
44 |
+
DM Assistant Manages alignment, reacts to player choices, and coordinates the scenario engine
|
45 |
+
World Builder Generates nations, ruins, factions, landscapes based on theme and narrative direction
|
46 |
+
NPC Generator Crafts compelling side characters, rivals, and allies with built-in emotional state logic
|
47 |
+
Loot Master Designs intelligent magical items with gameplay relevance and narrative symbolism
|
48 |
+
Character Creator Offers class builds, moral alignment shaping, backstories, and personality scaffolding
|
49 |
+
🚀 Run the Demo
|
50 |
+
|
51 |
+
git clone https://huggingface.co/spaces/YOUR_USERNAME/DungeonSmasher
|
52 |
+
cd DungeonSmasher
|
53 |
+
|
54 |
+
pip install -r requirements.txt
|
55 |
+
python app.py
|
56 |
+
|
57 |
+
Or use the Hugging Face Space:
|
58 |
+
🌐 https://huggingface.co/spaces/YOUR_USERNAME/DungeonSmasher
|
59 |
+
🛠️ Technologies
|
60 |
+
|
61 |
+
Gradio 4.19.2 – Interactive agent dashboard
|
62 |
+
|
63 |
+
OpenAI GPT-4 – Powers multi-agent reasoning and content generation
|
64 |
+
|
65 |
+
Custom Symbol Engine – Tracks morality, ambition, and sacrifice over time
|
66 |
+
|
67 |
+
Modular Python Backends – Separate logic per agent, designed to coordinate
|
68 |
+
|
69 |
+
🧭 Demo Suggestions
|
70 |
+
|
71 |
+
Here’s how to explore Dungeon Smasher’s modular agent systems:
|
72 |
+
🧙 Try the AI Dungeon Master
|
73 |
+
|
74 |
+
Run the DM Assistant.
|
75 |
+
|
76 |
+
Prompt with a situation like:
|
77 |
+
"The players enter a ruined cathedral during a thunderstorm"
|
78 |
+
or
|
79 |
+
"A festival hides a deadly secret beneath the wine and song"
|
80 |
+
|
81 |
+
Watch the DM generate a scene setup, tone, and hooks for encounters or player decisions.
|
82 |
+
|
83 |
+
👥 Generate an Intelligent NPC
|
84 |
+
|
85 |
+
Open the NPC Generator.
|
86 |
+
|
87 |
+
Try inputs like:
|
88 |
+
"an informant in a crime-ridden city"
|
89 |
+
"a cursed knight guarding forgotten ruins"
|
90 |
+
|
91 |
+
The NPC will return with motivations, secrets, backstory hooks, and roleplaying tips.
|
92 |
+
|
93 |
+
🗺️ Build a Region or Faction
|
94 |
+
|
95 |
+
Use the World Builder.
|
96 |
+
|
97 |
+
Type prompts like:
|
98 |
+
"a coastal nation obsessed with prophecy"
|
99 |
+
"a desert empire fallen to shadow"
|
100 |
+
|
101 |
+
You’ll get a named region, faction structure, power conflicts, and thematic details.
|
102 |
+
|
103 |
+
💰 Create Unique Loot or Magic Items
|
104 |
+
|
105 |
+
Run the Loot Master.
|
106 |
+
|
107 |
+
Prompt with:
|
108 |
+
"a cursed artifact from a sunken temple"
|
109 |
+
"a gift from a dragon who respects mercy"
|
110 |
+
|
111 |
+
See how the loot ties into story, alignment, and gameplay mechanics.
|
112 |
+
|
113 |
+
🐉 Build a Heroic Character
|
114 |
+
|
115 |
+
Open the Character Creator.
|
116 |
+
|
117 |
+
Prompt with:
|
118 |
+
"A rogue raised by nobility but haunted by secrets"
|
119 |
+
"A storm sorcerer who fears their own magic"
|
120 |
+
|
121 |
+
The system outputs stats, class, race, personality, narrative flaws, and potential arcs.
|
122 |
+
|
123 |
+
🎯 Future Goals
|
124 |
+
|
125 |
+
Fully playable narrative loop with dungeon crawl interface
|
126 |
+
|
127 |
+
Combat simulation + stat-driven decisions
|
128 |
+
|
129 |
+
Campaign memory and persistent NPC state
|
130 |
+
|
131 |
+
Player reputation, fear, and legend-tracking
|
132 |
+
|
133 |
+
Voice narration and agent expression for NPCs and DM
|
134 |
+
|
135 |
+
📄 License
|
136 |
+
|
137 |
+
💬 Final Note to Judges
|
138 |
+
|
139 |
+
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. 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 under intense emotional and logistical pressure.
|
140 |
+
|
141 |
+
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.
|
142 |
+
|
143 |
+
I’m grateful for the opportunity and for the space to create, even amidst personal crisis.
|
144 |
+
|
145 |
+
Sincerely,
|
146 |
+
|
147 |
+
Jesse W. Stucker
|
148 |
+
ghost logic. is still running
|
149 |
|
150 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|