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

WebSocket Multiplayer Game Server in Rust

Notifications You must be signed in to change notification settings

huytd/sergaem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

WebSocket Multiplayer Game Server in Rust

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages