pacosako icon indicating copy to clipboard operation
pacosako copied to clipboard

Show how many people are watching a game

Open kreibaum opened this issue 2 years ago • 1 comments

This requires me to track the "presence" in games. Then I'll be able to send stats about this presence to the frontend where it'll be rendered.

Take everyone that is present |> filter by "not a player" |> count.

kreibaum avatar Nov 06 '22 19:11 kreibaum

I think having a separate in memory database that tracks websocket connections & users & rooms would be good. Gets rid of my ad-hoc data structures. But having separate databases doesn't work nice with sqlite. :-/

kreibaum avatar Mar 26 '24 20:03 kreibaum