AI for ultimate tic tac toe