ios - Gamekit turn based game -


i plan give try 1 of ios board game, built around gamekit's turn based api.

i offer best game experience limiting amount of time available each turn. here, possible turn based api ?

the goal let players play during 60 seconds, , display counter @ top of board can see when turn.

so, global question is: there way prevent players stop playing without resigning game? should happen if player loose data connection while?

i'll glad if share experience in type of game.

cheers.

cyril

i implemented similar behaviour using socket connections between 2 devices in turn-based match. idea once player1 taking turn, sends respective message player2, player2 knows 1-minute timer started player1 , vice-versa. same happened when player did submitturn - other player stopped countdown , started waiting turn arrive via gc. however, in case in event of application going background (or game being otherwise interrupted) game ends tie outcome.


Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -