Games should reconnect if the connection is lost.
- Lingua principale
- Haskell
- Stelle
- 1.3k
- Fork
- 201
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia individuando la gestione delle connessioni di gioco del server e il codice del driver che gestisce le connessioni dei client. Chiarisci come devono interagire i giocatori disconnessi, la cronologia degli eventi conservata e la riconnessione, quindi definisci i test per le disconnessioni temporanee e un replay riuscito prima dell’implementazione.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- haskell
- Ambito
- backend, networking
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100