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

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -