I was wondering, do you have a simple JavaScript example game that explains the basics of integrating with PlayFab?
I think I understand the principles of the PlayFab SDK. I am more looking into examples of how to connect with the server, wait for matchmaking and turns.
Should I be using something like web sockets or polling?
Practical example:
I have a turn based game and I've invited someone to a game. It could take a while before the invitation is accepted. How do I know that an invitation has been accepted? I can poll the server at an interval and see if there is a match.
Any best practices there?
Thanks!
Jeffry