FourInARow: Using the GameplayKit Minmax Strategist for Opponent AI
Version 1.0, 2015-09-16
First public release.
Xcode 7.0, iOS 9.0
This sample demonstrates how to use the GPMinmaxStrategist class to implement a computer-controlled opponent for a simple board game. You'll see how to structure gameplay model code for use with the minmax strategist using the GPGameModel protocol and related APIs.