Skip to content

Latest commit

 

History

History
73 lines (50 loc) · 1.61 KB

File metadata and controls

73 lines (50 loc) · 1.61 KB

Master–Client Authority: Network Client and Server (ENet + MsgPack)

  • CLI server in C#
  • network client
  • Unity client
  • basic message exchange protocol
  • Master–Client Authority architecture


🎯 Project Goal

To demonstrate a clear and honest implementation of network interaction:

  • without magic
  • without high-level ready-made frameworks
  • without hidden threads or “it just works”

🧠 Key Concepts

  • Master–Client Authority
  • network loop and processing frequency
  • using ENet from managed code (C#)
  • binary serialization with MessagePack
  • Message Envelope (header + message body)
  • separation of network and game threads
  • message queues and overflow protection
  • client-side state interpolation
  • determinism and predictable logic

📦 Repository Structure

/MMShared        — Shared library with protocol and dependencies (R3, ENet, MsgPack)
/MMServer        — Server logic library
/MMServerCLI     — CLI application to run the server (C#, ENet)
/MMClient        — Client logic library
/MMGame          — Unity project with visualization

🛠 Technologies Used

  • C#
  • R3
  • ENet
  • MessagePack
  • Unity (as a visual client)

This is not a production-ready game server, but a clean architectural foundation.


⚠️ Important

This repository is educational material. The code is not optimized for production use — it is optimized for readability and understanding.


Источник: загруженный пользователем README.md