java - Online games: update the clients with deltas or with the new status -
i'm implementing online chess android , have question how update players other player's movements.
for example lets imagine player1 moves tower a1 a7.
what should do?
- send player2: "a1 a7" (with kind of checksum of full board avoid errors)
- send player2 full board 32 pieces
support both.
- only send deltas during events, but
- allow client request full state, reason, through separate api.
- include , increment sequence number each event trivial client detect missed updates.
Comments
Post a Comment