View Single Post
Old 11-14-2012, 12:20 AM   PM User | #18
sonny
Regular Coder

 
sonny's Avatar
 
Join Date: Apr 2008
Location: United States
Posts: 567
Thanks: 88
Thanked 0 Times in 0 Posts
sonny can only hope to improve
Quote:
Originally Posted by Fou-Lu View Post
What is a byes? I had assumed it was a term you used to simply remove an odd number, but this makes it sound more like a technical term.
Its not a hard problem, its simply a couple of loops. But like I said, you simply don't conform to standard mathematics, so you cannot rely directly on combination calculations. With 8 teams you'll simply end up with either a remainder of 12 or a shortage of 16 games to play. You just can't divide into this number to end up with an even result; there will be overlap but you need to dictate the rules to calculate the overlap.
a bye is if no team has a opponent for the week they do not play that's all
team1 vs bye
tean2 vs team7 ,,,


here is something that is really close to what I need to do this creates a team schedule
and works great for 8 teams, problem is it errors with 10 teams and over and has
no bye. it also does not provide amount of games to play

I found something that creates a scheduleand works great for
8 teams, problem is it errors with 10 and over teams and has
no bye.

phpkode/scripts/item/team-schedule-maker


Sonny

Last edited by sonny; 11-14-2012 at 12:23 AM..
sonny is offline   Reply With Quote