Authoritative servers and dumb clients
Reliable Way to Minimize Hack in PvP
In the realm of networked games, the client-server architecture can broadly take on two forms: dumb servers with smart clients or authoritative servers with dumb clients. Ragmon utilizes the latter, the authoritative server and dumb client model.
Dumb Clients
Dumb clients are systems or devices that do not have processing capabilities or hold data. Instead, they rely on the server for these functions. In our case, the game client merely provides the user interface and processes user inputs, but does not handle game logic or store game data.
Authoritative Servers
Authoritative servers are responsible for processing all game logic and maintaining the game state. In Ragmon, the server receives inputs from the client, processes the game logic, maintains the state of the game, and sends back the updated game state to the client.
This model provides several benefits:
Cheat Prevention: By processing the game logic server-side, we minimize the risk of client-side manipulation and cheating.
Consistency: With an authoritative server, every player's game state is synced with the server. This ensures consistency across all clients.
Scalability and Performance: Dumb clients require less processing power and memory, making the game more accessible to users with lower-end devices. Furthermore, scaling up the game becomes a matter of improving server infrastructure rather than demanding more from every player’s device.
By embracing an authoritative server model, Ragmon can provide a fair, consistent, and scalable gaming experience for all players.
Future Vision: Decentralized Battle Servers
Ragmon envisions a future where game battles are executed on decentralized servers, similar to blockchain nodes. By enabling enthusiasts to host and operate these nodes, Ragmon can expand its network and offer rewards for these contributions. This decentralized approach not only bolsters game security but also deepens the community's involvement, giving them a stronger voice in the game's direction. It's an exciting evolution we're keen to explore further.