AIRandomMoveStrategist

class AIRandomMoveStrategist : AIGameStrategy

A strategist that will pick random moves.

  • Returns the best move for the player.

    Declaration

    Swift

    override func bestMoveForActivePlayer() -> GKGameModelUpdate?

    Return Value

    A random move.