I have an even number of teams and I need to create a list of fixtures. The rule is that a team that plays a fixture at home will play the next one away. What do you think is the best aproach for this problem?
So the problem is to generate half of the fixtures, the other will be generated reversing home - away.
So, if I have 6 teams {A, B, C, D, E, F}
I need to generate:
Fixture 1
A - B, C - D, E - F
Fixture 2
F - A, B - C. D - E
and so on
Steve is right, it is not possible to implement it the way I said it. But anyway, the question still stands for the fixtures, even if a team will play two consecutive home games.