VB.NET : Creating a Match / Tournament Draw (Soccer)
Posted on 2005-05-02
Anyone got any tips or tricks on how I would go about creating a match draw through VB.NET
Ideally what i'd like is for the user to select a grade and division, then select the teams, in which their home grounds will be linked to them (and the number of fields available on the ground via the db) and then the program creates the draw.
For example, let's say: Grade 12 Division 2, has 10 teams. 18 rounds is the season. Each team will verse each other twice (as a team cant verse itself so that equates to 18 matches/rounds). How would the program create this. Also one thing to take note is that if there's 9 teams in the 10 team competition, the program will automatically throw in a BYE round, so like the number of teams in the division needs to be even to eliminate the BYE round.
It sounds pretty complex i know and the way i'm explaining it aint top notch (the idea's still scratchy in my head) but if anyone can give us a hand it'll be greatly appreciated.
Code samples will be a dream come true.