nerdware/apps/server/src
AyoubBenziza f0c327617b feat: leave-room button
- 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>
2026-06-11 17:33:10 +02:00
..
admin feat: game history + question lang/active management 2026-06-11 17:12:07 +02:00
db feat: game history + question lang/active management 2026-06-11 17:12:07 +02:00
game feat: reconnection — keep your place across refresh / network drop 2026-06-11 17:26:22 +02:00
env.ts feat(quiz): image_reveal format (progressive blur) end-to-end 2026-06-10 21:41:34 +02:00
handlers.ts feat: leave-room button 2026-06-11 17:33:10 +02:00
index.ts feat: game history + question lang/active management 2026-06-11 17:12:07 +02:00
rooms.ts feat: leave-room button 2026-06-11 17:33:10 +02:00
socket.ts feat(server,web): first real-time cycle — room create/join + lobby 2026-06-08 15:16:26 +02:00