Instance Property

minPlayers

The minimum number of players that may join the match.

Declaration

var minPlayers: Int { get set }

Discussion

The minimum number of players must be at least 2.

See Also

Determining the Number of Players Allowed in the Game

class func maxPlayersAllowedForMatch(of: GKMatchType) -> Int

Returns the maximum number of players allowed in the match request for a given match type.

enum GKMatchType

The kind of match being created.

var maxPlayers: Int

The maximum number of players that may join the match.

var defaultNumberOfPlayers: Int

The default number of players for the match.