google / google/codeworld

Client-side pings needed for the game API

Open
#430 0 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

Currently, a client that doesn't send any events will cause other clients to fall arbitrarily far behind in their committed game state. This is because these other clients have no way of knowing whether this client just has no events to deliver, or whether it has delivered events that have stalled in the network.

To fix this, we want clients to send occasional pings when they haven't delivered an event for a second or two. The handling code for this exists; all that's needed is to modify the driver to actually send the pings.

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.