Skip to content

Server: Add additional types of scoping for next_n rooms #13

@johanhelsing

Description

@johanhelsing

The next_n rooms are really useful if you want to connect to other players as quickly as possible.

However it would be nice if they allowed the clients to match on some criteria. in addition to the total number of players. e.g.

  • Are they playing the same game? (would allow to reuse the same server for multiple games)
  • Game version
  • Specific map
  • Game mode
  • etc.

I think it would make most sense to make this generic so it could support criteria and use cases I haven't thought of.

In its simplest form, this could just be a single string key decided by the game: e.g.

wss://match.myserver.com/next_4?key=thegame_v1.0_deathmatch

Not sure if key is the most fitting name here. scope, namespace? Or have it as a path arg? Open to suggestions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions