I'd like to manage ranking data in the cloud.
If possible, I'm thinking of a program that stores data in a free cloud and updates data from 1st to 10th place (easy, difficult, super difficult).
Server data acquisition → comparison with local data → update if local data is higher
If you are familiar with the procedure in , please let me know if it is relatively easy to implement.
Additional
I am currently creating a simple game app with swift, set the time when the game starts
If successful, compare the time required with server data, update if time is short, and discard if larger
However, I wanted to keep the data on the server in order to display the ranking.
Can GameKit test data updates without registering with iOS Developer Program?
Note 2
I tried to manage the data with appCloud, but when I accessed it, the following error occurred, so I am checking the error
NSURLSession/NSURLConnection HTTP load failed (kCFSstreamErrorDomainSSL, -9802)
If you simply want to manage your ranking in the cloud, I recommend using GameKit.
You can use GKScore to register your score and get your ranking on the GKLeaderboard.It is also easy to divide the ranking by difficulty level.Of course, it's free.For more information, please refer to the following URL:
osios7 Edition するImplement GameCenter ranking display and score submission - Qiita
http://qiita.com/s0hno/items/accf11c311e037c92302
© 2024 OneMinuteCode. All rights reserved.