google / google/codeworld

Games should reconnect if the connection is lost.

Open
#380 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Haskell
Stars
1.3k
Forks
201
PR merge metrics
No merged PRs in 30d

Description

When a player disconnects, it would be ideal to not terminate the game right away. Instead, the remaining players can keep playing with no new events from that player.

In fact, it would be even better if the server kept event history for a couple minutes, just in case that player reconnects, and have the driver code attempt to reconnect when the connection is lost. This would help in cases where the client changed networks or experienced a temporary interruption.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.