|
|
|
|
|
by Longwelwind
2189 days ago
|
|
Fair enough! I can understand the reasoning if you need to code a client in a different language, then you would effectively need to code the whole game once again. I feel like it would quickly bore me to code the rendering of each set of moves for each possible action. I feel like it's easier to have access to the complete state of the game client-side when you need to code a UI. There might be a solution if the server broadcasts the diff of the game state to the clients after each action has been performed (instead of letting the clients re-apply the action on their game state), but I'm not sure it would be nough. How do you handle state synchronization, though? When a player makes an action, how do you propagate the changes to the game state? |
|