A Study of Phase Transitions in Security Games