Tictactoe game with AI