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.Declaration
Swift
class AIGameScene : ChallengeGameScene
-
An abstract class that represents a game player.
See moreDeclaration
Swift
class AIAbstractGamePlayer : NSObject, GKGameModelPlayer
-
An abstract class that represents a game state/model.
See moreDeclaration
Swift
class AIAbstractGameState : NSObject, GKGameModel
-
An class that represents an agent in the game.
See moreDeclaration
Swift
class AIGameStrategist
-
An abstract data structure that represents an input device.
See moreDeclaration
Swift
struct AIAbstractGameSignalSender
-
An abstract data structure that represents a signal receiver.
See moreDeclaration
Swift
struct AIAbstractGameSignalReceivable
-
An abstract class that represents a decision an agent can make.
See moreDeclaration
Swift
class AIGameDecision : NSObject, GKGameModelUpdate
-
An enumeration that represents the moves an agent can make.
See moreDeclaration
Swift
public enum AIGamePlayerAction : String, CaseIterable