Is there a way in which we can pull statistics of past challenges between two players?
for eg. if A and B have played against each other 10 times and A has won the game 8 times then is there any system that keeps track of these win/loss counts?
Best Answer
C
Customer Support
said
almost 7 years ago
Hi Deftouch,
No this total isn't tracked by default. You would have to implement a system yourself to do this. You could use the data from ChallengeStartedMessage to create a document in a collection or check if one already exists between the two players for a given challenge. Then you could use the data from the ChallengeWonMessage to update it accordingly. Let me know if you have any other questions.
Thanks,
Liam
1 Comment
Customer Support
said
almost 7 years ago
Answer
Hi Deftouch,
No this total isn't tracked by default. You would have to implement a system yourself to do this. You could use the data from ChallengeStartedMessage to create a document in a collection or check if one already exists between the two players for a given challenge. Then you could use the data from the ChallengeWonMessage to update it accordingly. Let me know if you have any other questions.
Deftouch Design
Is there a way in which we can pull statistics of past challenges between two players?
for eg. if A and B have played against each other 10 times and A has won the game 8 times then is there any system that keeps track of these win/loss counts?
Hi Deftouch,
No this total isn't tracked by default. You would have to implement a system yourself to do this. You could use the data from ChallengeStartedMessage to create a document in a collection or check if one already exists between the two players for a given challenge. Then you could use the data from the ChallengeWonMessage to update it accordingly. Let me know if you have any other questions.
Thanks,
Liam
Customer Support
Hi Deftouch,
No this total isn't tracked by default. You would have to implement a system yourself to do this. You could use the data from ChallengeStartedMessage to create a document in a collection or check if one already exists between the two players for a given challenge. Then you could use the data from the ChallengeWonMessage to update it accordingly. Let me know if you have any other questions.
Thanks,
Liam
-
Documentation Notes
-
Design issues with user events
-
Using NoSQL
-
Runtime Collections vs Metadata Collections
-
Anonymous authentication from browser app
-
Modules
-
Movement With Unity
-
Problem with url parameters for downloadables
-
Querying NoSql GameSparks database
-
Challenge accesType
See all 2487 topics