Originally posted by Time Trial
Should just choose a seed # at random between 1 and 10. Then start with the top team, add that many to their rank, that's who they play. That way every team gets an equal ladder game every week.
TMYK.
Meh.
Personally I would have done #1 vs #2 and go all the way down.
Keeping it the way it is, I think it's just as good to just walk the list ordered, starting at #1 and randomly pick a team 1-10 slots below them. Then just keep walking down, and exclude teams already picked. You're guaranteed to get a team within 10 places, you can choose to exclude all teams within the same league unless it makes you have no options; you call the randomizer just as often as it takes to shuffle the list (once per slot on the list) but this way you aren't walking the whole list each matchup. The list is short, though, so optimizing time isn't a big deal, but if the site gets mega-popular with 10K teams or something then....well, then have a big freaking party and swim in a pool of champagne, but after that, optimize your matchup script.