# Each line is one game.  First two listed players in each game form one team (a pair), 
# and the rest form the other team (pair or triple as needed).
#
# No player meets any other more than once, in any capacity.
#
# No player is in a triple more than twice.  If 5 or fewer rounds are used,
# then no player is in a triple more than once.

m38 = [
# Round 1:
	[
		[27, 9, 18, 0, 36],
		[28, 1, 19, 10, 37],
		[2, 11, 20, 29],
		[3, 12, 21, 30],
		[4, 13, 22, 31],
		[5, 14, 23, 32],
		[6, 15, 24, 33],
		[7, 16, 25, 34],
		[8, 17, 26, 35]
	],
# Round 2:
	[
		[0, 10, 20, 30],
		[1, 11, 18, 31],
		[2, 9, 19, 32],
		[3, 13, 23, 33],
		[4, 14, 21, 34],
		[5, 12, 22, 35],
		[37, 6, 16, 26, 27],
		[7, 17, 24, 28],
		[36, 15, 8, 25, 29]
	],
# Round 3:
	[
		[0, 11, 19, 33],
		[1, 9, 20, 34],
		[2, 10, 18, 35],
		[3, 14, 22, 27],
		[36, 12, 4, 23, 28],
		[37, 29, 13, 21, 5],
		[6, 17, 25, 30],
		[7, 15, 26, 31],
		[8, 16, 24, 32]
	],
# Round 6:
	[
		[0, 14, 25, 28],
		[1, 12, 26, 29],
		[2, 13, 24, 27],
		[3, 17, 19, 31],
		[4, 15, 20, 32],
		[5, 16, 18, 30],
		[36, 34, 11, 22, 6],
		[37, 23, 7, 9, 35],
		[8, 10, 21, 33]
	],
# Round 4:
	[
		[0, 12, 24, 31],
		[1, 13, 25, 32],
		[2, 14, 26, 30],
		[37, 18, 3, 15, 34],
		[4, 16, 19, 35],
		[36, 5, 17, 20, 33],
		[6, 9, 21, 28],
		[7, 10, 22, 29],
		[8, 11, 23, 27]
	],
# Round 5:
	[
		[0, 13, 26, 34],
		[36, 35, 14, 24, 1],
		[37, 25, 2, 12, 33],
		[3, 16, 20, 28],
		[4, 17, 18, 29],
		[5, 15, 19, 27],
		[6, 10, 23, 31],
		[7, 11, 21, 32],
		[8, 9, 22, 30]
	]
]