mancala/docs/specs/game-history
Halit Aksoy 85e3fb60f6 feat(backend): add game history API and live game previews
- GET /games/me/active and /games/me (Bearer token), /games/popular (live
  games, or the most spectated finished ones), and /game/:id now also
  returns saved records of finished games
- Lists are cached in Valkey for 10 seconds, cleared when a game is saved,
  and empty instead of failing while the database is down
- Live game previews over WebSocket: subscribers get the top 5 on
  subscribe and on change, at most once per second, without counting as
  spectators; ids are public ids
- RTMT supports several connection listeners
2026-10-16 00:21:09 +03:00
..
design.md feat(backend): save every game and keep live games across restarts 2026-10-16 00:18:33 +03:00
requirements.md docs: add game history and live games spec 2026-10-16 00:03:32 +03:00
tasks.md feat(backend): add game history API and live game previews 2026-10-16 00:21:09 +03:00