You don't need an enemies list. After all the friends groups are assigned and before the solo groups are assigned, there should be a group that has the "put the users associated with this license in a different league" box checked. Then they get assigned to different leagues, as long as they don't have any friends, that should work and not complicate the algorithm unduly.
|