This might seem like a pretty obvious question, but I've been combing through Apple's documentation and can't seem to find a straight answer.
What actually happens when a turn times out - that is to say, the time interval passed as the turnTimeout parameter to endTurnWithNextParticipants:turnTimeout:matchData:completionHandler:
has passed? Logic dictates that either there would be a callback similar to handleTurnEventForMatch:didBecomeActive:
to explicitly handle no move being made, or the next player in the nextParticipants
array would receive a turn notification.
Unfortunately, although Apple are quite happy to describe how turnTimeout
limits how long a player has to act (and to tell you that it's up to your game to decide how to handle this), there's no information about what methods are called or what data is supplied, and I'm seeing some very odd behavior - namely the player who passed is getting a handleTurnEvent notification with the same match data as the turn they just timed out on. Anyone have any advice?