# Each line is one game. First two listed players in each game form one team (a pair), # and the rest form the other team (a pair or a triple). # # No player partners any other more than once, and no player opposes any other more than once. # # Only 4 rounds are possible. # # If only the first 3 rounds are used, no player plays in a triple more than twice. If the # 4th round is also used, then player 5 will be in a triple three times. m18 = [ # Round 1: [ [0, 1, 2, 3], [4, 5, 6, 7], [10, 17, 8, 9, 11], [12, 13, 14, 15, 16] ], # Round 2: [ [0, 7, 10, 13], [4, 3, 9, 14], [8, 17, 2, 5, 15], [12, 16, 1, 6, 11] ], # Round 3: [ [11, 16, 0, 5, 14], [1, 4, 10, 15], [3, 6, 8, 13], [7, 12, 2, 9, 17] ], # Round 4: [ [9, 15, 0, 6, 16], [2, 4, 11, 13], [1, 7, 8, 14], [3, 10, 5, 12, 17] ] ]