It is shown that a win-stay, lose-hift behavior rule with endogenous aspiration levels yields cooperation in a certain class of games. The aspiration level in each round equals the current population average. The class of games includes the prisoner's dilemma and Cournot oligopoly and thus...