Skip to content

Use WebSocket over polling for updating game state #14

@aashutoshrathi

Description

@aashutoshrathi

Description

The game state updates right now, as the front end polls every second for changes in the state of the game from the MRU. This can be done more efficiently by having a WebSocket endpoint on the express server like GET wss://..../:gameId subscribing which, will send all the game updates to the client, only when there are changes in State.

This would require a listener on SDK for C1 confirmations and also, have to update state on C2X.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions