Next.js - React - Socket.IO - MongoDB
4 Agents each sequentially controlling their own aspect:
Narrative (handling overall story architecture)
Level (creating typing challenges)
Content (writing individual scenes)
Reward (generating savable awards)
Practices
Atomic operations
Rate limiting
Real-time
Challenges Faced
From Polling to Socket.IO
Initially used polling-based multiplayer but faced constraints due to large HTTP header overhead
Real-time wasn't necessary but became needed as structure grew (and game mode variation)
Became more efficient and cheaper to use Socket.IO for matches, which actually expanded gameplay possibilities
Product Design
Initially designed from my perspective on what I wanted to play, but following the advice of 30+ playtesters so far, I removed unnecessary bloat, added more customization, and social features.
Hosted in a Dockerized container in Digital Ocean.