joshzcold / Cold-Family-Feud

Host your own Family Feud game. Mobile friendly with built in buzzers.
https://famf.app
MIT License
72 stars 42 forks source link

Websocket shouldn't connect before hosting or joining #39

Closed joshzcold closed 2 years ago

joshzcold commented 3 years ago

if you go to index then the client will connect to the server. This serves no purpose and should really only be done when the user clicks to host or join a game.

As a side issue. When the user click to host or join and the websocket is in a closing state, then the client should make a new connection.

joshzcold commented 2 years ago

Covered by: https://github.com/joshzcold/Cold-Family-Feud/pull/41