Happened too many times to be a coincidence. I'm playing a game as Egypt and I've seen this 3 times. The AI is programmed to build a wonder 1 turn before you do. This is a fact; this is not just a coincidence, it's happened too many times. Great Wall? AI in a faraway land beat me to it and I had to reroll to get it. Petra? Same thing. Angkor Wat? Same thing. Each time; the AI beats me to it by 1 or 2 turns. The AI in a faraway land must know exactly what wonder the player is building. There's no way it doesn't. If I don't try to build the Petra in a game; the AI will never build it. But if I build the Petra? "Petra built in faraway land". They're programmed to build wonders 1 turn before you.