Inspiration
What it doesInspiration
Social feeds are full of passive scrolling, but some of the most memorable internet moments happen when a community plays together—like Twitch Plays Pokémon or daily puzzle threads. We wanted to bring that shared, bite-sized cooperative tension to a modern thread format: a dungeon crawler where the entire community shares one party, one health bar, and one fate.
What it does Thread Dungeon posts a new text + emoji dungeon room with a 6-hour voting window. Players cast 1 vote per user per room across three classic choices: ⚔️ Fight, 🥷 Sneak, or 🤝 Bargain.
Live Vote Bar: Updates in real time as the community debates and votes. 6-Hour Scheduler: Automatically closes voting, tallies the majority choice, applies random room events and Boss Encounters (every 5th room) to the shared party's HP, gold, and inventory, and generates the next room. 🏆 Most Decisive Voters Leaderboard: Rewards players whose votes consistently match the winning majority. 💀 Permadeath & Season Hall of Fame: If the party's HP hits 0, the season is archived in the Hall of Fame and a brand-new Season begins. How we built it Backend: Node.js & Express powering the REST API and automated 6-hour room resolution scheduler. Data & Voting: Redis-backed storage ( redisStore.js ) using hashes for 1-vote-per-user-per-room enforcement and sorted sets (ZINCRBY / ZREVRANGE) for the Most Decisive Voters leaderboard—with an automatic persistent JSON fallback so it runs zero-config anywhere. Content: A hand-crafted table of 30 atmospheric text + emoji dungeon rooms ( rooms.json ) combined with random event modifiers. Frontend: Vanilla HTML/CSS/JS with a dark-fantasy, glassmorphic thread UI, live countdown timer, and instant demo controls (Simulate Votes & Close 6h Vote). Challenges we ran into Designing a voting system that feels alive even in a solo demo environment, while keeping strict 1-vote-per-user-per-room integrity and seamless Redis compatibility both with and without an external Redis instance.
Accomplishments that we're proud of A complete, playable end-to-end loop—from voting and live bars to boss encounters, permadeath, and Season Hall of Fame archiving. Zero-config portability: works out of the box locally or scales with REDIS_URL. What's next for Thread Dungeon Native webhook/bot integrations for Discord, Slack, and X/Threads so every 6-hour room posts directly into live community channels. Player-submitted dungeon rooms and seasonal cosmetics.
How we built it
Challenges we ran into
Accomplishments that we're proud of
What we learned
What's next for Thread Dungeon
Built With
- express.js
- html5
- javascript
- json
- node.js
- redis
- sorted-sets
