File size: 4,298 Bytes
7c6055c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3aee2b5
 
 
c4c52f0
3aee2b5
 
c4c52f0
3aee2b5
 
 
c4c52f0
3aee2b5
 
c4c52f0
 
 
 
 
 
 
 
 
 
 
 
 
3aee2b5
c4c52f0
 
3aee2b5
c4c52f0
3aee2b5
c4c52f0
3aee2b5
c4c52f0
3aee2b5
c4c52f0
3aee2b5
c4c52f0
3aee2b5
c4c52f0
3aee2b5
c4c52f0
3aee2b5
c4c52f0
3aee2b5
c4c52f0
3aee2b5
c4c52f0
3aee2b5
c4c52f0
3aee2b5
c4c52f0
3aee2b5
c4c52f0
3aee2b5
c4c52f0
3aee2b5
c4c52f0
3aee2b5
c4c52f0
3aee2b5
c4c52f0
3aee2b5
c4c52f0
3aee2b5
c4c52f0
3aee2b5
c4c52f0
 
3aee2b5
c4c52f0
 
3aee2b5
c4c52f0
 
 
3aee2b5
c4c52f0
3aee2b5
c4c52f0
3aee2b5
c4c52f0
3aee2b5
c4c52f0
3aee2b5
c4c52f0
3aee2b5
 
 
c4c52f0
3aee2b5
 
e48688b
3aee2b5
 
 
c4c52f0
3aee2b5
 
c4c52f0
5786d24
9d2321d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
---
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.)