The tic-tac-toe AI using the min-max algorithm.