D-Zone is a graphical, isometric simulation that visualizes Discord users as autonomous agents in a virtual world based on real-time activity.
This is a fork of the original d-zone project. The client has been rewritten in TypeScript, using ES Modules, and is designed for versioned static deployment (see GitHub Pages).
⚠️ The backend has been completely separated and rewritten in Python: 👉 nntin/d-back
- Full TypeScript rewrite
- ES Module (ESM) support
- OAuth2 login flow handled by external backend
- GitHub Pages versioned deployment
- custom WebSocket URL
- Unit testing (with Vitest)
- E2E testing (with Playwright)
- Vercel deployment (for previewing webclient + allure test report)
The progress of that can be seen in the develop branch or feature/e2e
⚠️ Because of the unstable develop branch PR are also accepted into master. Develop is however preferred.
npm installnpm run build:prodThe built client is output to dist/static/. This is what you'll deploy to your static host (e.g. GitHub Pages, Netlify).
To run in development mode with live rebuild:
npm run devThis concurrently:
- Bundles the client (watch mode)
- Starts a local server (server.mjs)
This client communicates with the D-Zone backend, now implemented in Python:
The backend handles:
- Discord OAuth2 authentication
- WebSocket connections
- Discord server activity monitoring
Refer to the d-back repository for configuration and hosting instructions.
Originally created by Devin Spikowski
Modern fork maintained by Tin Nguyen
“An ambient life simulation driven by user activity within a Discord server”
