Score
public protocol Score: Comparable
Score protocol used for scores of game state evaluations.
-
Smallest possible evaluation score.
Declaration
Swift
static var min: Self { get }
-
Neutral evaluation score.
Declaration
Swift
static var mid: Self { get }
-
Largest possible evaluation score.
Declaration
Swift
static var max: Self { get }
-
Invert evaluation score.
Declaration
Swift
func inverse() -> Self
Return Value
Inverted evaluation score