Simple, but challening. The mines would be more useful if the bad guys walked around without needing to have line of sight on the player.
I don't know how to add path finding in the game engine im using, unfortunately. I'll see what I can do tho