AIRandomWeightedStrategist

class AIRandomWeightedStrategist : AIGameStrategy

A strategist that will pick a random move from a random list of actions with the highest weight.

  • Returns the best move for the player.

    Declaration

    Swift

    override func bestMoveForActivePlayer() -> GKGameModelUpdate?

    Return Value

    A random move with the highest weight.