Basic tictac game with AI