Score

public protocol Score: Comparable

Score protocol used for scores of game state evaluations.

  • min

    Smallest possible evaluation score.

    Declaration

    Swift

    static var min: Self { get }
  • mid

    Neutral evaluation score.

    Declaration

    Swift

    static var mid: Self { get }
  • max

    Largest possible evaluation score.

    Declaration

    Swift

    static var max: Self { get }
  • Invert evaluation score.

    Declaration

    Swift

    func inverse() -> Self

    Return Value

    Inverted evaluation score