Skip to content

Lobby / Connector: Move game control to lobby #689

@Indy2222

Description

@Indy2222

Currently, it is up to the client to create / join / leave games at both DE Lobby and DE Connector. This complicates the clients and it is prone to dis-synchronization & timing issues.

Fix this by moving the Lobby game handling responsibility to DE Lobby:

  1. User requests game JWT from DE Lobby
  • It is restricted to a particular username and game name.
  • It encodes URL of the particular DE Lobby.
  1. During game creation / game joining, the user passes this JWT to DE Connector.
  2. DE Connector uses this JWT and contacts DE Lobby API during the handling of game creation, user joining and user leaving.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions