The four types of end game