Wouldn't it be cool to flag lobbies as public or private and have an api route to get all public lobbies?
This way i could fill the landing page with some list showing lobbies which single players can quickly join.
Things to regard here
lobbies need to have a maximum time to stay open after which they close automatically (e.g. 1h)
add ServerControllers Post mapping to take @RequestBody of e.g. LobbyCreationOptions instead of @RequestParam.
Wouldn't it be cool to flag lobbies as public or private and have an api route to get all public lobbies? This way i could fill the landing page with some list showing lobbies which single players can quickly join.
Things to regard here
@RequestBody
of e.g.LobbyCreationOptions
instead of@RequestParam
.