Play Tic-Tac-Toe against an AI

To win this game, place three Xs or Os in a row: diagonally, vertically, or horizontally.

This AI uses the minmax algorithm, alpha beta pruning, and early game hueristics so that it never loses.