Post

Replies

Boosts

Views

Activity

Comment on Testing "expired" turns for GKTurnBasedMatches
Unless I can use a timeout value less than 7 days in this call, I won't be able to test this faster. ( In my case being a two person game, the expired turn causes the player to lose and opponent to win and match ends.) func endTurn(withNextParticipants: [GKTurnBasedParticipant], turnTimeout: TimeInterval, match: Data, completionHandler: ((Error?) -> Void)?) Passes the turn from the current participant to the next participant.
Jan ’23
Comment on Removing open match using Game Center functionality - why?
Thanks for your reply. Yes I am referring to list of matches on Turn-based games on iOS. I worked-around whatever issues this may cause my users in my code. But it is a bit odd to see redundant functionality - as both Forfeit and Remove appear as options for matches that are not ended Per Apple's documentation remove is to remove ended matches. Could remove be disabled / not visible for matches that have not ended ?
Jan ’23