- Home /
Multiplayer Room based game architecture
I am working on a multiplayer Game Using Unity. I'm using Mirror library. For client prediction and server Reconciliation I am using a custom Mirror library found on Github. The game is simple, player login, Search a game, Play
I'm trying to make a full secure network flow from the connection screen to the final game.
I made a schema with all services that I probably need to secure all my flow.
Authentication service : Login and then getting a JWT token to be able to communicate with other services
Lobby service : "Main service" which handles all players data, and communicating with database Chat service : Simple TCP socket chat service
Server Manager : That is the point of this topic, I think this service must create a room when a player search a game.
Game server (Unity mirror) contain only the game itself. That's a game room.
I'm trying to find a good schema or a good book, blog, any information about "how to login player, move to lobby, searching a game, instantiate a gameserver, connect the player to this instance".
For example, eShopOnContainer from Microsoft is a good document to understand microservices. But I can't find the same information for a full multiplayer game architecture with a main dedicated server.
All information on Google are only low explanation, "how to connect a player to a server". I need more technical information.
And is there a way to Manage all my GameServers instances that works with unity (software, library, Docker etc.)?
Thank you for your help.
Your answer
