khaang221
❔ Generating a Seeded Tournament Bracket with Scores
I have this code (Attached.cs) which is generating single elimination seeded bracket. For example if i have 8 teams the output is like this
1 vs 8
4 vs 5
2 vs 7
3 vs 6
1 vs 4
2 vs 3
1 vs 2
What i Want is initially it should generate the matches based on seeds But the next rounds should be based on scroes. teams with highest score will move to next round 1 vs 8 Score1 15, Score8 20 4 vs 5 Score 4 85, Score5 70 2 vs 7 Score2 13, Score7 10 3 vs 6 Score3 19, Score6 21 8 vs 4 // again decide based on score to select the teams for finals 2 vs 6
What i Want is initially it should generate the matches based on seeds But the next rounds should be based on scroes. teams with highest score will move to next round 1 vs 8 Score1 15, Score8 20 4 vs 5 Score 4 85, Score5 70 2 vs 7 Score2 13, Score7 10 3 vs 6 Score3 19, Score6 21 8 vs 4 // again decide based on score to select the teams for finals 2 vs 6
2 replies