d543f8d3f1c9c8212b97bd32f1b5ea708018ab70
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
DFlike
A multiplayer browser game inspired by Dwarf Fortress. Watch autonomous NPCs with needs-driven AI wander, eat, and rest in a shared world. Connect as an observer or take control of an avatar.
Quick Start
npm install
# Terminal 1: Start server
npm -w server run dev
# Terminal 2: Start client
npm -w client run dev
Open http://localhost:3000. Open multiple tabs for multiplayer.
Asset Setup
Character assets must be present at client/public/assets/chars/. If missing:
cp -r chars client/public/assets/
Controls
- WASD / Arrow Keys -- pan camera (camera mode) or move avatar (avatar mode)
- TAB -- toggle between camera and avatar mode
Architecture
- Server: Node.js + Socket.io, server-authoritative ECS simulation at 10 ticks/sec
- Client: Phaser 3 + TypeScript, Vite bundler
- Shared: TypeScript types and constants
Description
Languages
TypeScript
99.9%