我很高兴听到新的谷歌游戏服务中的回合制比赛,但同时有点失望没有看到回合制游戏的“流程”,尤其是纸牌游戏将很难适应设计成谷歌转向基地的“预期流程”。我发现的问题之一是更新游戏状态,我真的希望我在文档中误解了它
根据文档,如果用户进行回合(假设抛出红桃 A),则该信息将仅呈现在下一个玩家的设备上。有没有办法同时在所有参与者设备上更新此信息?否则第 6 名玩家将必须等待 5 个回合才能在屏幕上看到移动!
有什么想法吗?
最佳答案
- Call takeTurn() and pass in your game state data as the matchData parameter.
- If the call is successful, Play Games services notifies other participants in the match about the update and makes the match data available on all participant devices.
- Your game can then call getData() to retrieve the updated game state.
看来所有参与者都获得了更新的状态。
关于android - 回合制比赛,如何在每回合后更新所有设备,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21194308/