Hi,
I've researched and made a small tech demo for using Playfab and it seems like there's great many things that work out-of-the-box. Things like inventories, character data, save data, leaderboards and more. All stuff related to game "content".
I would like to know how one would go about doing a chess game. Let's think of one match between 2 players.
I went through the forums, docs, and assume "Shared group data" (for 2 people) would be the answer. I would like to see an example how chess data could be stored in shared group data (or elsewhere). Not the matchmaking info, but the actual info about player moves (or chess piece locations).
Let's assume cheating is not an issue.
Could the shared group data look something like this:
{ playerIds: [123,456], whiteKingPosition : "g2", blackQueenPosition: "b3", ... }
Or maybe something like this:
{ players: ["white:" 123, "black":456], units: [ ["position": "b6", "color": white, "piece": "king"], ["position": "c5", "color": white, "piece" :"queen"], ] ... }
Of course "it depends on your game", but I'm interested in best practises here and also about the limitations of the shared group data (if that's the way to go). Assuming scenario with no-cheating (or using cloud script for handling those), async gameplay (no update problem), assuming matchmaking has been taken care of.