我正在开发Google Play游戏服务 我已经为实时播放器及其工作集成了代码。 现在我想知道更多的功能 我在Google上搜索后未找到
1. When user won the game it should update wining counter by one.
2. What is the ranking of user according to country
3. How to get user detail of opponent.
答案 0 :(得分:0)
听起来你想看看排行榜https://developers.google.com/games/services/common/concepts/leaderboards
您可以创建(目前)最多70个排行榜(可能一个用于您玩家的国家/地区)。
在游戏结束时,您可以更新用户的分数。服务器跟踪每日,每周和所有时间的领导者。还有公共和社交排行榜的概念,这可能是一种看待对手的立场。