Client-side pings needed for the game API
- Lenguaje dominante
- Haskell
- Estrellas
- 1.3k
- Forks
- 201
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.
Guía de contribución
Línea de trabajo
Comienza con el controlador de la API del juego y sigue el código existente que gestiona los pings. Actualiza el controlador para que los clientes envíen pings ocasionales después de uno o dos segundos sin entregar un evento; después, ejecuta las pruebas relevantes de la API del juego y verifica que los clientes inactivos eviten que otros clientes se queden atrás.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- haskell
- Área
- networking
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100