- CLI server in C#
- network client
- Unity client
- basic message exchange protocol
- Master–Client Authority architecture
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”
- 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
/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
- C#
- R3
- ENet
- MessagePack
- Unity (as a visual client)
This is not a production-ready game server, but a clean architectural foundation.
This repository is educational material. The code is not optimized for production use — it is optimized for readability and understanding.
Источник: загруженный пользователем README.md
