A swarm game