AI for tictactoe game. Uses minimax algorithm (assumes opponent always chooses best path, and decides from there).