Skip to content
This repository has been archived by the owner on Jan 6, 2021. It is now read-only.

Latest commit

 

History

History
12 lines (8 loc) · 862 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 862 Bytes

Sergaem: WebSocket Multiplayer Game Server

This is a base code for building WebSocket-based multiplayer online game server.

The main components in this architecture:

  • ClientHandler: Handler which will be allocated for each connected client, to procesisng the incoming/outgoing messages.
  • NetworkManager: All of the connected client and their related jobs will be managed in this module.
  • GameManager: The bridge to connect between networking layer and game logic layer, this module also manage the creation of gamme rooms - the smallest logic unit of the game where you will be working on. Think of this as a lobby of the game.
  • Game: This is where you will be working on, write all your game logic in the update function of this module, you can write as many game room logic as you want for your server.

(More details coming soon)