An arXiv preprint models how reputation-weighted learning shapes cooperation, abrupt transitions and competing outcomes in a spatial social dilemma.