- room:leave event: removes the player from the room (not just disconnected), reassigns host if the host leaves, deletes the room when empty - store leaveRoom() emits it and clears the session (reset) - room header gets a "Quitter" button (always available); end-screen "Quitter" now also leaves cleanly Verified e2e: leaver removed from snapshot, host reassigned to the next player. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| eslint.config.js | ||
| package.json | ||
| tsconfig.json | ||