I'm currently playing on version 1.09, and every once and a while i run into a situation where I feel as though the AI is either impossibly lucky or just outright knows where my soldiers are at all times (particularly the sniper, but I'll get to that later). One such occasion was when i was about to breach a small scout ship on an industrial map. I had about five of my men huddled around the front of the ship, about to block the doorway on the next turn, with the rest of them scattered about the the map.
As soon as I hit the End Turn button, the aliens must have decided that they've had enough of my door-spamming antics, so they jumped out, and proceeded to rip my team a new one. While it was a nice and refreshing surprise that I wish would happen more often to spice things up, what surprised me the most was how one of them came out of the ship and shot one of my men from clear across the map, instantly killing him, even though I'm 99% sure that there was no way he could have seen him or known he was there. I know cesians have a sight distance of about 18 tiles, but I'm pretty sure he was much farther away than that, since the ship was on the far left side of the map, and my guy was somewhere around the far right side.
Another example that happens much more frequently is how the aliens seem to have an uncanny ability to know when my sniper has a clear shot on them, even when he should be well beyond their field of vision. I say this because, they always seem to want to move behind cover that would block his shot, even if it puts them within easy closing distance of one of my other soldiers that they should know are there. Sure, it might just be my impression, but it happens so often that it really makes me wonder.
Is this kind of behavior normal for the AI? Is it a bug? Or am I just missing something?