There is only one death condition: if the monster touches you. Keep an ear out for and try to spot it in the darkness before its able to get to you.
I also explained the A.I. in depth in the description, if that helps.