sourencho / ungroup_game

A multiplayer game about temporary alliances written with a custom engine in C++ and SFML
14 stars 1 forks source link

Send individualized player game states #122

Open sourencho opened 4 years ago

sourencho commented 4 years ago

Currently the entire game state is broadcasted to all players.

For efficiency and fairness we probably want to send a filtered game state for each player.

For example, we send the resources of all the players, but we might want to keep this a secret from players. Or we might want to only send game objects in a certain radius of the player. @copacetic this is esp relevant for bots.