sourencho / ungroup_game

A multiplayer game about temporary alliances written with a custom engine in C++ and SFML

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Send individualized player game states

sourencho opened this issue · comments

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.