Nice game, it was fun and it lead to some funny moments!
I have a question: Do enemies try to predict your movement ahead of you?
I found that if i wiggle with A and D but keep going straight, they miss. If you can add a delay of let's say... 0.3s to when the predict for the direction change starts (and reset if the direction changes) i think you could solve it that, but not entirely sure.
In example, a enemy is aiming at me, and with every input, aims ahead of that. But if you add a delay and the delay resets with direction changes, he will keep aiming straight and hit me, because i didn't move aside, just "turned" a minimal amount.
Cheers, it was a fun game, and at one point i had a soldier run in circles trying to troll me around obstacles :D