Skip to content

Add lobby support #47

Description

@billyb2

@Susorodni mentioned wanting support for lobbies in the net code, so that one server could host hundreds or even thousands of games at a time, without having to make another expensive process for each person who wants to join. Doing this would be pretty simple, just make it so that each network request that involves playing the game (so almost all of them, minus stuff like downloading maps or seeing what lobbies are open, etc.) have a u16 that identifies the lobby at the beginning of them. then, whenever a network request is received by the server, and player 3 in lobby 8 wants to move for example, it wouldn't interfere with player 3 in lobby 2.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersnetNetworking code stuff

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions