Instance Property


A value assigned and read by GameplayKit to rate the desirability of a move in your game.



var value: Int { get set }


Your game does not assign to or read from this property directly. Instead, when you adopt the GKGameModelUpdate protocol, you simply provide a read/write implementation of this property. When you use the GKMinmaxStrategist class to select optimal moves during gameplay, GameplayKit assigns values to this property in order to rate the desirability of each move to a given player.

See Also