TicTacToe game with AI