Hello, I'm working on a competitive rhythm game similar to osu!mania in Roblox. I’m debating between two server-client architectures for score handling :
- The server calculates and stores the score in real-time, sending the validated judgment and score updates to the client for display.
- The client calculates and displays the score locally during gameplay, sending only input events (like key presses) to the server, which independently validates and calculates the final score at the end of the game.
Which approach is generally considered better for a competitive multiplayer game in terms of security and performance ?