AIPredeterminedTreeStrategist

class AIPredeterminedTreeStrategist : AITreeStrategy

A strategist that will pick the best move based on a predetermined GKDecisionTree.

  • Initialize a predetermined tree strategist.

    Declaration

    Swift

    override init()
  • Returns the decision tree that the agent will use to determine its next best move.

    Declaration

    Swift

    override func makeDecisionTree() -> GKDecisionTree

    Return Value

    A decision tree with hard-coded suggestions.