Competition, cooperation, and collective choice