I need an algoritm for a tournament with the following requirements:
- X rounds (2, 3, 4)
- X participants
- playing team with 2 against team with 2
- changing partners every time
- never play with or against one another
- if not divide by 4, rest is added to the first 1 to 3 teams
Anyone a solution to this?