Tic tac toe game with an AI