AI - Components

  • A game scene that an AI agent can control.

    In the game scene, the player can provide a move budget and strategy to solve the puzzle. A default random move strategist with a budget of one move is provided when these options aren’t available.

    Important

    Scenes that subclass the AI game scene must be running macOS 10.15 Catalina or higher.
    See more

    Declaration

    Swift

    class AIGameScene : ChallengeGameScene
  • An abstract class that represents a game player.

    See more

    Declaration

    Swift

    class AIAbstractGamePlayer : NSObject, GKGameModelPlayer
  • An abstract class that represents a game state/model.

    See more

    Declaration

    Swift

    class AIAbstractGameState : NSObject, GKGameModel
  • An class that represents an agent in the game.

    See more

    Declaration

    Swift

    class AIGameStrategist
  • An abstract data structure that represents an input device.

    See more

    Declaration

    Swift

    struct AIAbstractGameSignalSender
  • An abstract data structure that represents a signal receiver.

    See more

    Declaration

    Swift

    struct AIAbstractGameSignalReceivable
  • An abstract class that represents a decision an agent can make.

    See more

    Declaration

    Swift

    class AIGameDecision : NSObject, GKGameModelUpdate
  • An enumeration that represents the moves an agent can make.

    See more

    Declaration

    Swift

    public enum AIGamePlayerAction : String, CaseIterable