Repeated games: cooperation vs. the end game