Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detect websocket disconnections and turn player into bot #85

Open
joffrey-bion opened this issue Feb 8, 2021 · 0 comments
Open

Detect websocket disconnections and turn player into bot #85

joffrey-bion opened this issue Feb 8, 2021 · 0 comments
Labels
feature Additional functionality that might require some significant work

Comments

@joffrey-bion
Copy link
Owner

When a player closes the tab of the game, we should be able to detect the missing keepalive and act on it.

If the player is in the lobby, we could automatically kick that player from the lobby.

If in game, we could make the player discard all cards, or replace the human with a bot.

@joffrey-bion joffrey-bion added the feature Additional functionality that might require some significant work label Feb 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Additional functionality that might require some significant work
Projects
None yet
Development

No branches or pull requests

1 participant