Maybe you should check your version of directx.
I Need Help!  Special Round Robin Tournament Algorithm

While hosting small tournaments, I’ve come across an issue in creating the actual matchups. Here are the stats and requirements that I’m working with:

It’s a five player game in which turn order matters!!!

Every person plays five games, one as player 1, 2, 3, 4, and 5 (you can think of this as playing 5 Pacific 1940 games, one as China, one as Japan, USA, UK, and ANZAC…)

It’s supposed to be a round robin tournament, so each person plays against every other player; however, as an extra stipulation, each player will only see every other player once.
Now according to what I just mentioned, there will have to be 21 people total (because if every player plays five games and there are four opponents in each game and every opponent will only be seen once, there will have to be 20 other people to fill those spots; this also means 21 games total will be played).
If you’re not confused already, also remember, one of the other stipulations is that of the 5 games that everybody plays, each one has to be a different position in the turn order (in A&A terms, think of it as a different country). So there cannot be someone who plays as player #2 in more than one game, because he has to have a game as each different player position.
*
To make this a little clearer, here’s a much simpler breakdown I created for hosting a 3 player game with the same rules:There are 7 players and 7 games being played. The players are listed as “1,” “2,” “3,” etc. The player listed at the top of the list goes first (he is the nation that moves first) the player at the bottom of the list goes last (he is the nation that moves last).
Game 1. Game 2. Game 3. Game 4. Game 5. Game 6 Game 7.
1462735
2175463
3516247At first glance, this just looks like a bunch of numbers. But it’s actually a carefully constructed round robin tournament. Notice how it meets all the requirements I mentioned earlier:
 Each player only sees every other player only once.
 Each player gets to play only once in first, second, and last positions in the turn order.
 There are only three people in each game.
Now, if you are making any sense of what I’m saying, perhaps you can help me. I have successfully created a tourney bracket like this for 4 player games, and there is actually more than one way to “solve” the matchups so that everything is just as I said. But I’m making these through trial and error, and I’ll spare you from the headache of seeing the actual 4playergames bracket.
But what I really need right now is a bracket for 5 player games (the twentyoneparticipant model I spoke of earlier). But with 21 different games to set up and all the stipulations I mentioned about turn order and only seeing every opponent once, I haven’t been able to manually figure out the bracket.
Is there some sort of algorithm, formula, or something I can use other than the excruciating task off trial and error to create a list like the one I showed for the 3 player game? And yes, I am aware that many roundrobin generators exist, but I’ve never found one that has support for games that have multiple players and takes into account the importance of turn order (in a game like Axis and Allies where you’re not just “white” or “the player who moves first,” where you are in the turn order makes a huge difference, as that is the nation you are playing.)
If any of you intellectuals understand what I’m talking about, please let me know if you have a solution. My simple model for the 3 player game version is a good start, but I’m wondering if it’s even possible for the 5 player version I’m talking about? Maybe the math just doesn’t cooperate.
PLEASE HELP!


@charlesdegaulle
I don’t have an answer to your actual question, and I have no idea whether what you have in mind is mathematically possible, but here’s the angle which really puzzles me. You mentioned that this issue arose out of hosting small tournaments, but you also mentioned that the concept involve 21 people playing 21 games, which doesn’t sound like a small event to me. From a practical point of view, there are two questions which come to mind. First, what is the rationale for having all the stipulations you mention? If I’m understanding your post correctly, you’re saying that what makes the problem so difficult is satisfying all the stipulations – but this begs the question of why you have so many of them in the first place. Second, your post presumably works from the assumption that you actually have 21 players on hand who’ve indicated that they’re willing to play under this roundrobin system…but is that actually the case? In other words, are you trying to work out the mechanics of something to which they’ve already agreed, or are you developing a concept that you want to pitch to them as a cool idea once you’ve worked out the details? If it’s the latter, you may end up investing a great deal of work in a concept that might not actually fly with your intended audience. 
@charlesdegaulle ask @redrum he’s smart

I think you could solve it as a sort of “bin packing” problem where you have 21 “bins” and you have to put each player into 5 of those bins while enforcing both that they need to be in each position of the bin once and can only be in the same bin as each other player once.

@cwomarc Thanks for the excellent thoughts. You always give good insight.
Something I should have mentioned that might make this sound a bit more reasonable is that this tournament bracket isn’t being made for Axis and Allies. It’s just a five player game in which turn order plays a big role (going first vs going last is drastically different, almost like playing a different nation in A&A). Also, the game is “freeforall,” meaning players can legitimately team up and matches can be easily lost because an amateur “threw” the game—this is why it’s so important that participants only face each other once.
The “21” model was created simply because it’s the smallest possible bracket for a fiveplayer game that could offer a player a chance to go first, second, third, fourth, and last–AND only see each opponent once.
You might be wondering why “only seeing an opponent once” is so important to me. In this game, there are five competing players that strive to eliminate opponent’s pieces. It is very well possible for someone to be eliminated entirely in the first few rounds of the game. As you gentleman might remember, I entertain a bunch of goofy kids and am practically still one myself. It’s not uncommon for an experienced veteran to get “bullied” by even just 1 silly opponent who goes out of his way to destroy the threat of a skilled player early on by focusing only on him (much to the harm of both players).
The “21” model is the smallest logical number (for a 5player game) that is “fair” in my group. The extra stipulations are there to give everyone an even chance without too much luck being involved.

@redrum Now that I think about it, that’s actually very close to what I’ve tried doing in MS Excel. The 3 and 4 player versions were easy enough, but 5 is giving me a hard time.
Just for some interest, here’s a snapshot of part of the “solved” bracket for the 4 player, 13 participant version.

@charlesdegaulle Yeah, I think you’ve been manually doing it which for small problem sets like 34 players which is probably not too difficult. Once you get to 5+, its very difficult and time consuming to do manually and you may need a programmatic approach.
You can try to do it manually but it may get to the point where you end up having to try to swap around a bunch of game assignments to avoid breaking your conditions which is where a human starts to struggle but where computers and optimization algorithms shine.

Thanks for the additional information. It helps to know that this isn’t for A&A because a single A&A game can take an awfully long time to play, never mind 21 of them. I have some followup questions.

You say that each game involves five players (that’s clear enough) and you say that “every opponent will only be seen once” over the course of the multiple games. What I’m wondering is whether “every opponent” refers to specifc individuals or whether it refers to a unique combination of individuals. To explain myself, let’s take five people and designate them as A, B, C, D and E, and let’s use person A as our reference point. In the first game, person A will face B, C, D and E. So far so good. In the second game, will person A need to face four entirely different individuals (say F, G, H, I and J)? Or does it suffice to face a different combination of individuals which can include some of the members of the previous group but not all of them – for example, B, C, D, E and F? If it’s absolutely prohibited for any of the players to ever face any of the same individuals in any of the games, regardless of what combinations they’re in, this implies a rather large number of people.

Is a “different opponent” defined by who the physical persons are, or is it defined by the position in which they’re playing? In other words, if person B is playing the #1 position (which I assume means the person who plays first in the turn order) in one game, and if person B is playing the #2 position in another game, is person B considered to be a different oppenent, even though it’s the same individual?

When you say “turn order matters”, do you mean that players are defined (within your system) in terms of what – in an A&A context – is the prescribed order in which the nations on the board get to take their turns? Or do you mean something else?

How many game rounds are there? (I define a round as each player in the turn order playing one turn.) Are people allowed to play multiple rounds until a game is finished?

Is the “you’ll never play the same opponent twice” concept an end in itself? Or does it relate to a larger concept for winning the tournament itself? To use an imperfect analogy: in the NHL playoffs, most teams never get to play against each other; they play in pairs, and each pairing eventually results in one team eliminating the other. Each winning team then meets another team which similarly eliminated another team in the first round, and so forth, with the number of teams surviving each round dropping by 50% at each round, until ultimately only two teams face off in the finals. There’s a clear goal and a clear progression. Is there some sort of similar goal in your rotational system? You seemed to indicate that one of your aims is to compensate for the fact that some players are strong and experienced, and thus can potentially bully weaker ones. Fair enough, but does this mean that the objective is simply to allow everyone to experience one game against every possible level of opponent, but that there’s no specific overall outcome regardless of who wins which games?


I think I’ve found a way for you to work out your fiveplayer matrix without too much trouble. I tried to see if there was a reasonably systematic / programmatic way to work out the answer for the simpler case of a threeplayer matrix; there is, and you should be able to scale it up. It’s a manual process that involves checking things – but it uses a process of elimination, so some parts of the process get shorter as you progress, which makes it manageable.
It also breaks the problem down into stages, so that you don’t have to try to figure out all the variables at once by an excruciating process of trial and error. Crucially, it first determines only the issue of “who plays with whom in each game”, and it leaves until a second stage the issue of who plays which turn order position.
Here’s the approach I took, after studying the photo you posted (which answered a lot of my earlier questions).
For clarity, I designated the players with numbers (1, 2, 3, etc.), and I designated the turn order positions with capital letters (A, B and C). You might want to give Roman numerals to the games.
I started with Player 1 (hereafter just 1). The game has three turn order positions, and therefore also has three players per game. 1 has to play once in each turn order position, which means three games. There are three players per game, so at each game 1 plays against two opponents. The opponents are required to all be different at every game, so this means that 1 will play against six other people, numbered from 2 to 7. Thus:
1 plays against 2, 3, 4, 5, 6, and 7
Since it’s a threeperson game, this translates into:
1 plays against (2 & 3) and (4 & 5) and (6 and 7)
All three of 1’s matchus are now spoken for (though note that we haven’t yet nailed down which turn order position he plays in each pairing; that will come later), so we can turn to the next player to consider. Here’s where the process of elimination comes in. The next player to consider is 2. If we were replicating the pattern of this line…
1 plays against 2, 3, 4, 5, 6, and 7
…you’d think this that corresponding “2” line would look like this…
2 plays against 1, 3, 4, 5, 6, and 7…
but in actuality it looks like this…
2 plays against 4, 5, 6, and 7
…with two numbers (1 and 3) eliminated because 2 has already played against both of them. (The systematic check to apply at every step of this procedure is the question, “has this been used before?”)
At first glance, if we follow what we did with 1, this…
2 plays against 4, 5, 6, and 7
…translates into…
2 plays against (4 & 5) and (6 and 7)
…but if we apply the “has this been used before?” test we see that (4 & 5) and (6 and 7) were both used with 1, so we can’t use them with 2. Switching two of the digits, however, gives this…
2 plays against (4 & 6) and (5 and 7)
…which works because 4 hasn’t previously played against 6, and 5 hasn’t previously played against 7.
At this point I put together a little table to see if anything was missing. The results I have so far are:
The “1” matchups
1 2 3
1 4 5
1 6 7
The “2” matchups:
2 4 6
2 5 7
This leaves the “3” matchups to work out. 3 has already been used with 1 and 2, but has not been used with 4, so I wrote the partial line:
3 4
We need another number to complete the line. 5 comes after 4, but it’s been used with 4 previously. Next comes 6, but that’s also been used with 4 previously. Next is 7, which has no previous use with 4, so the line becomes:
3 4 7
I then went back over all the previous lines to check whether there are any remaining numbers with which 3 had not yet been used. Yes indeed: 5 and 6. This generated the following line:
3 5 6
I don’t know if the forum has a posting length limit, so I’m going to break off here and continue in a second post in a few moments.

Now to resume. By now we’ve generated a tentative table of threenumber matchup lines which looks like this:
1 2 3
1 4 5
1 6 7
2 4 6
2 5 7
3 4 7
3 5 6As a check, I then mentally went through the following twonumber combination: onetwo, onethree, onefour, etc., all the way up to threeseven, to see if each pair of numbers in the combination can be found on one and only one line of the table. Answer: yes. So – unless I’ve overlooked something, which I hope I haven’t – we now have a complete list of who gets matched with whom, which meets the required “play with everyone but only once” condition.
Now to figure of the turn order. Each player gets to play in each position (A, B and C) once. The first cluster of unedited lines is:
1 2 3
1 4 5
1 6 7If we move the 1 by one and two spaces respectively, we get:
1 2 3
4 1 5
6 7 1Now for these unedited lines:
2 4 6
2 5 7The first line already has the 2 in the A position, and the 4 and the 6 don’t conflict with anything above, so it’s tentatively fine as is (more on this later). The second line needs to have the 2 in the C position. Putting the 7 in the B position would conflict with an earlier line, so our only choice is to put it in the A positition:
7 5 2
Our table thus far is:
1 2 3
4 1 5
6 7 1
2 4 6
7 5 2We’re now left with these two unedited lines:
3 4 7
3 5 6Here we run into a problem: the lines can’t be arranged to avoid conflicts. I therefore had a second look at that “tentatively fine” earlier line and tried switching it around. That fixed the problem, with the rest of the table fell into place. The full final result is…
1 2 3
4 1 5
6 7 1
2 6 4
7 5 2
3 4 7
5 3 6…which can be verified by noting that each number appears once in each column:
A B C
1 2 3
4 1 5
6 7 1
2 6 4
7 5 2
3 4 7
5 3 6 
Incidentally, I’ve just checked my table against yours (which is oriented horizontally rather than vertically)…
Game 1. Game 2. Game 3. Game 4. Game 5. Game 6 Game 7.
1462735
2175463
3516247…and I see that we got the same results in three of the cases and similar but different ones in the remaining four, so it looks as if the problem has at least two valid answers. This is is good news because this suggests that even your fiveplayer matrix should be workable in at least one way.

@cwomarc I believe you’ve already solved your questions, but just to be sure, I’ll briefly answer them for clarity to everyone.
 The answer is yes. Player A is only allowed to see Player B once. “Once” refers to certain individuals rather than combinations of individuals.
 A different opponent is defined by who is playing. Player B is still Player B regardless of his position in the turn order.
 Yes. Turn order is similar to Axis & Allies in which it defines a person’s place and affiliation on the board.
 For this answer, I’d first like to say that it does NOT affect anything else. So don’t consider these numbers in calculations. However, to answer the question, there are typically 11 rounds (it can change because players can get skipped if they have no valid moves). There are almost always 54 moves (turns) total (unless the last move is an invalid one for everybody). By nature of the game, the fifth player typically only gets 10 moves while everyone else gets 11. (11*4 + 10 = 54)
 This concept was created for overall fun (in a relatively small group of 21 people, it’s fun to get to “fight” against everybody) but more importantly, to ensure overall fairness. Since it’s a 5 player game rather than a 1vs1, luck plays a huge factor, as there is much that goes on out of your control while the 4 other players take their turns. Also, this isn’t just about winners and losers. Players will strive to “win second place” or do their best regardless, because after the 21 games are played, each participant receives points for where they placed in each game (4 points for a win, 3 for 2nd, 2 for 3rd, 1 for 4th, and 0 for fifth).

@cwomarc Now then, to address this beautiful system you’ve written, this is indeed the correct way to go about making the bracket. I would have never been able to explain it so informatively as you just did, but yes, this is what I’ve tried to do to create the 5player, 21participant version.
As you found, there are actually several ways to solve the 3player, 7participant version. I can attest that there are also at least 3 ways to solve the 4player, 13 participant version as well.
I’ve tried methods very similar to what you just wrote out, and it does work. But as redrum pointed out, it becomes increasingly hard for a simple human like me to work out, because the possibilities explode greatly at 5 players and above to the point of madness.
I’ll continue diligently working on at least finding ways that DON’T work for the 5player, 21participant bracket. So far, by process of elimination, just like the beautiful model you wrote out here, I’ve tried many,many matchups, but they all have thus far failed. Your supposition that there probably IS at least one “solve” does give me hope, as I believe all these failures I’ve faced are purely a result of the enormous possibilities 21 players give.
Again, I’d like to thank you Marc and everyone else for giving me these ideas to consider, as I now have many good tools for working on this further.
…I just hope many crazy comrades don’t ever think of a 6player version of our game, because I’ll probably end up losing my wits trying to solve it.

@charlesdegaulle said in I Need Help!  Special Round Robin Tournament Algorithm:
It’s not uncommon for an experienced veteran to get “bullied” by even just 1 silly opponent who goes out of his way to destroy the threat of a skilled player early on by focusing only on him (much to the harm of both players).
I’ll tell you a hypothetical story, just sit back and relax for a bit.
Let’s say Player 7 is a nice person by some estimations, they like spending time with their friends, many of whom like playing this board “game” (note the quotation marks). Now let’s say that Player 7 feels that they’re mostly wasting their time with this “game” that they’re not very good at, and doesn’t feel that they are being respected. So to make a lasting impression on others, Player 7 decides to “take down” whoever is thought as the “strongest” player in whatever “game” they play in. That way player 7 earns respect, maybe even admiration on some level. Some others might call this “bullying” but really, Player 7 is just playing their own game, which isn’t necessarily “the game” with all these nice pat rules that the others think they’re playing. Understand the distinction between game (life goals) and “game” (board game), this distinction comes up later.
Let’s say every player in the group is more skilled at the game the lower their number is, and that this is generally recognized by the group. So 6 can expect to beat 7, all other things being equal, 2 can expect to beat 5 handily, etc.
Let’s say Player 1, instead of just being skilled at the “game” with all the formal rules, also is good at the GAME and by that I mean player psychology, making friends, just those sorts of things. And they understand of course players 6 and 7 are going to feel marginalized and disrespected, that there’s a pecking order. See?
So now we get some very interesting results.
In Game One with players 1, 2, and 3, in Game Two with players 1, 4, and 5, and Game Three with players 1, 6, and 7, the same thing happens. When appropriate, 1 treats opponents with respect and consideration, so conspiring against 1 is reduced. After all, if other players immediately conspire against 1, it’s basically admitting they’re not on 1’s level, so 1 wins anyways in a sense. And if it sometimes suits 1 to be dominant to players that like to be dominated (oh my), then let’s say that happens too.
But that isn’t the interesting part, we’re assuming that all things being equal 1 was favored to win anyways, so if 1 wins, no big deal right?
But that’s not the end of it. Though player 1 wins all their games, what of the other games that other players play? If 1 wants to destroy their competition in the game sense (not the “game” by its nice clean rules, but the GAME, like life shenanigans), then what?
We know that player 2 already lost the game in which 2 matched against 1. But player 2 is also playing with 5 and 6 in game four, and with 4 and 7 in game five. And because 1 is masterful at the game, 1 says “well, you know, I like 2, but really, 2 needs to be taken down a notch”. So player 5 and 6 conspire so player 5 wins against player 2 in game four, and players 4 and 7 conspire so player 4 wins against player 2 in game five.
But wait, you say, that’s crazy? Of course it’s crazy. But because 2 is losing all their games, 2 becomes the new 7. That’s just how it works, even though it’s not how it’s SUPPOSED to work, we KNOW that 2 is better at the “game”, but that certainly isn’t what the game results will show. But the outcome, as weird as it is, still suits everyone except number 2, so you can easily see how it happens with a little encouragement.
But it’s all more or less okay because the best player is still the best, and if one player’s not where they ought to be in the ranking that’s just how it goes, oh well? But that’s not even the twist ending. The twist in our little story is NOBODY is where they ought to be, actually the SEVENTH best at the “game” is player 1, it’s only that the seventh player is actually a master of the GAME OF LIFE (not the “board game”). And all the little complications in the OP were entirely besides the point to someone that understood how to work the system.
Instead of meekly playing along and accepting the rules of the board “game” and the supposed rating system, the least skilled at the “game”, the REAL player 7, has such a strong grip on the GAME (in terms of getting people do what one wants them to do in real life) that they are, without dispute so far as the other players are concerned, player 1! Is that really what was desired?
I’m not saying it plays out dramatically like in a movie. You can do a lot with a slight wrinkle in the nose, some subtle hand gestures, and a friendly smile, maybe a little shrug to help things along. It doesn’t even have to be conscious manipulation, it’s really just a very natural part of social interaction that one influences others in these subtle ways.
So the real question is not whether it happens, it’s how much it happens, and whether the OP system counters it, (which it doesn’t, right?)
What is the “mathematical solution”? If you have a nice clean simple answer, there’s going to be factors you’re not accounting for mathematically, and that means the system will be subject to manipulation via manipulation of the variables that ought to be accounted for but aren’t. It is not required that someone understand or even have intent to manipulate a system, people naturally puzzle out what works, just like you don’t need real intent or understanding of calculus to nearautomatically catch a ball when it’s thrown to you.
I’d imagine if you wanted a real mathematical address to player skill in the “game”, the mathematical solution would have to be very dirty indeed. Like you’d have to use a modified Glicko with additional multipliers based on turn order, and accounting for multiple players with rating having different motivations for game outcomes. I’m not even sure you could call such a system Elo / Glicko any more; if Glicko is really “different” enough to Elo that it deserves a name change, surely a system with so many added variables and considerations would have its own name.
But as I see it, CWO Marc’s first post in the thread  it really returns to, what is the purpose of the system? If you want a mathematical answer you need to define the mathematical question. So what is it that’s wanted, exactly?

A system to accurately assess player strength (which would require a load of data crunching, there’s just no other way to get the corrective numbers for a particular population)

A system to notso accurately assess player strength, but which requires less work

A system that doesn’t even pretend to try to assess player strength at all, but could still be of interest to players.
https://www.youtube.com/watch?v=THUGHEJjjGc
Is Bill Murray REALLY assessing mathematically a horsesized duck versus a hundred ducksized horses? Clearly not. It’s schmoozing, but 800,000+ views; apparently some people found it interesting.

A device to get players interested in playing more games

A device to convince players of the legitimacy of game outcomes. I’ll point out again the OP system just doesn’t mathematically account for “bullying”.
Or something else, what? Once you can clearly define the issue, and I mean clearly and honestly and openly in all ways, even if those end up maybe looking a little shameful, only then can you really define mathematical solutions.
@charlesdegaulle said in I Need Help!  Special Round Robin Tournament Algorithm:
The “21” model is the smallest logical number (for a 5player game) that is “fair” in my group. The extra stipulations are there to give everyone an even chance without too much luck being involved.
What are the specific criteria for “fair”? Consider, why does the one designing the model not account for and predict a lower ranked player hitting a higher ranked player, offplaying it as “bullying”, even though apparently this is enough of a trend to be noticeable? Could it be that the predictive model need be reexamined and reconsidered from the ground up?
If you’re looking for a mathematical solution, you need to not look at how you want things to be, but how things really are.
But the OP is about a “special round robin tournament algorithm”? All right, then, cautions given so let’s look at that then.

“It’s a five player game in which turn order matters” / 2) Every person plays five games. This is really just one thing mathematically. Or procedurally. Whatever. An nplayer game in which every player plays n games, isn’t that the parameter?

“Each player will only see every other player once” which is another thing,

21 players = 21 games. Well, we’ll look at this. I don’t think this should be taken for granted.
Okay, so let’s look at the 3 player game (abbreviated hereafter as 3PG). What if have only 3 players? Fine, that works out, just one game. But what if we have 4 players? Well then there’s a problem. You can have a 3PG game with players 1, 2, and 3, but for there to be a game with player 4, then you need either 1 and 2, or 1 and 3, or 2 and 3 to play a game together again. There’s no way around it, you simply can’t have a roundrobin for 3PG with 4 players with the specified conditions.
But you define the parameters by specifying the player count and the value for n in nPG? All right, if you say so, but you do see where that’s a bit odd. Rather than saying here are the number of players you have and let’s figure out a system, you stick on so many parameters and requirements it’s quite the pincushion. I really think if you’re designing a system you would do best to consider a system that doesn’t have so many requirements for participants. Of course I’m not familiar with your situation, for all I know you have total control over the number of participants, so eh.
Apparently it works for 7 players for 3PG, or 13 players for 4PG, but what is that says 21 will be the magic number for 5PG? Really, you just take nPG, then take (n(n1))+1? If it were that simple, then shouldn’t it be easy to figure out your brackets?
Let’s take a cute little example. Let’s say that we use nCr mathematics to resolve 7 players in 3PG. First let’s say that we’re using nCr instead of nPr in the first place because numbers can just switch name tags; it doesn’t REALLY matter if you’re doing 1,2,3 vs 1,3,2 if “2” and "3’ can just switch name tags. Then we say how do we figure out how many games a player plays? 6C2 = 15, 5C1 = 5, divide to get 3. Wow, what a great answer, so simple, and completely wrong for all I know, but eh.
If this combination thing is so great then what happens if you go from 7C3 = 35 to 6C2 = 15? Oh, let’s not worry about THAT, it looks weird but TRUST me (wink wink). 6C2 = 15, 5C1 = 5, divide to get 3, it’s magic! don’t think about anything else! frantic hand gestures!
12C3 = 220, 11C2 = 55, amazing! Divide and you get 4! Magic!
20C4 = 4845, 19C3 = 969, divide and you get 5!
Hey well (shrug) it’s not like I’m really thinking things out, just kinda throwing some nCr stuff at the wall and seeing what sticks, you know? But if that IS actually all you have to do, then you just set up a program to generate the nCrs and to handle the “division” part so you get a nice clean output. I mean, how hard could THAT possibly be?
Look yeah, let’s just take the 7 player 3PG. Here, you have 6C2.
2,3
2,4
2,5
2,6
2,7
3,4
3,5
3,6
3,7
4,5
4,6
4,7
5,6
5,7
6.7Then you have 5C1
3
4
5
6
7And how do you get from there to 1,2,3 / 4,1,5 / 6,7,1?
First, you define the ordered permutations by defining the place of “1” then fill in the rest. So we’re arbitrarily taking 1,2,3, what next? Well the thing about 5C1 is it doesn’t actually represent 3, 4, 5, 6, and 7, does it? Of course not, because there 3, 4, 5, 6, and 7 are abstractions that can “name tag switch” with 2.
So actually what you’re doing procedurally is you defined the location of 1, then you took the first sequence in 6C2 which is “2,3”, defining the permutation “1,2,3”. Then since you want to eliminate any repetition, you’re *eliminating all remaining elements in 6C2 that have the “2” or “3” elements (“1” is already eliminated).
So from 6C2, you’re selecting “2,3” and eliminating “2,4”, “2,5”, “2,6”, “2,7”, “3,4”, “3,5”, 3,6", and “3,7”. But then why do you divide 15 by 5 to get 3?
Hm, how to explain it. It just works out that way mathematically. There’s fifteen elements in 6C2, five elements in 5C1. The elements in 5C1 are mutable until they’re defined by their selection in 6C2. Every element in 5C1 recurs in 6C2 five times; once defined the element is removed from both lists.
So when “2,3” is defined, then 5+4 elements are removed (one of those being the permuatation “1,2,3”). When “4,5” is defined, 3+2 elements are removed (one of those elements being the permutation “4,1,5”). When “6,7” is defined, 1+0 elements are removed (the permutation “6,7,1”, for a total of 15 removed elements.
It’s less about “dividing” and more about that’s just how it works out, just like how you get the sum of the integers 1 through n by (n(n+1))/2.
I could be totally wrong about how it all works, but that’s how it seems to me.
(Edit  when I write, for example, “divide and you get 4!”, I mean divide and you get four, exclamation mark for emphasis. Not 4! in the mathematical sense (=24))


Here are a few additional thoughts, based on your “I’ve tried many, many matchups, but they all have thus far failed” comment and on aardvarkpepper’s analysis, which among other things raises the question of whether the kind of matrix you’re contemplating actually achieves the fairness it’s supposed to deliver.
To illustrate the argument I’m about to make, I’ll use the relatively simple case of the threeplayer matrix, which has already been solved, my version of it being:
A B C
1 2 3
4 1 5
6 7 1
2 6 4
7 5 2
3 4 7
5 3 6The first point to consider is this. You’ll note that every player does indeed play in each position (A, B and C) exactly once, and that every player plays against every other player exactly once, as required. At first glance, everything looks perfectly symmetrical, and therefore perfectly “fair”, because the assumption being made is that “symmetry equals fairness.” It turns out, however, that there are two problems here. Problem one has already been pointed out by Aardvarkpepper: the concept that “symmetry equals fairness” is questionable. Problem two is that the matrix is only symmetrical when you view it it terms of every player playing against every other INDIVIDUAL player. It stops being symmetrical when you view it it terms of every player playing against every possible COMBINATION of players. In the above example, for instance, 1 gets to play against three combinations of players; 2&3, 4&5, and 6&7, but never gets to play against all the other possible combinations of players (such as 2&6). If you work from the assumption that “symmetry equals fairness”, the logical conclusion would be that your players would all have to play a game against all the other possible combinations of players, not just against every individual player. This would not only increase the number of games to be played, it also require you to drop the requirement that each play play each position only once.
The second point to consider is this. As noted, the above matrix does not include all the possible threeplayer combinations. Some of the possible combinations are “valid”, in the sense that they work within the matrix, while others are “invalid”, in the sense that they wreck the matrix. This may explain the “I’ve tried many, many matchups, but they all have thus far failed” problem you’ve been running into. Your fiveplayer matrix experiments presumably all use the following matchups as their starting points, since those matchups are quick and easy to identify…
1 2 3 4 5
1 6 7 8 9
1 10 11 12 13
1 14 15 16 17
1 18 19 20 212 6 10 14 18
2 7 11 15 19
2 8 12 16 20
2 9 13 17 21…but I’m wondering if those matchups include “invalid” ones that make the rest of the matrix impossible to complete? I’m not saying that your contemplated 5player matrix is impossible; I’m saying that working it out may require a good deal of mathematical knowledge (which I certainly don’t have). If you look at the Wikipedia articles on roundrobin tournaments…
https://en.wikipedia.org/wiki/Roundrobin_tournament
https://en.wikipedia.org/wiki/Tournament_(graph_theory)…you’ll note that the scheduling algorithms for even the relatively simple case of rotating twoplayer matchups are quite complicated, or at least (to borrow a phrase from Calvin and Hobbes) look complicated “to the untutored eye of the ignorant layman.” This doesn’t appear to be a problem you’ll be able to solve by continuing to “diligently working on at least finding ways that DON’T work for the 5player, 21participant bracket.”
Which brings me to a practical suggestion. The problem you’re working on is extremely difficult to solve if the only solution that’s acceptable to you is one that meets your requirements perfectly. If you settle for “almost perfectly,” however, it immediately becomes quite manageable. I assume from your remark “I’ve tried many, many matchups, but they all have thus far failed” that every time you try to set up a matrix, there are always one or two matchups that don’t fit. How about simply living with them? As has ben discussed above, the premise that “symmetry equals fairness” has got a couple of conceptual problems with it, so it seems to me that having a couple of nonfitting outliers in your matrix is hardly going to be a fatal flaw. And you’ll note that the Wikipedia articles mention the concept “dummy competitors”, whose function seems to be make scheduling algorithms work. If the professionals need to use loopholes of this type, there’s no dishonour in your doing likewise.

@aardvarkpepper Dang. To be frank, your story is a lot more philosophical in nature than I actually feel is necessary to worry about. But that’s because I should have explained something:
—This whole tournament idea is actually for a playtest. Aside from having a fun, quickmoving tournament, I’m trying to gather statistics from a large pool of players to see if there is any bias involved. The “bias” I’m talking about relates to my earlier vague reference that “turn order is important.”
In each five player game, there are five “colors,” each with their own situation on the board. My hope is that any innate advantages or disadvantages of being one color vs another color are outweighed by the much larger influence of the players themselves. After the tournament is over, my idea is to scramble the players and start over, as many times as possible to weed out any issues with the game’s balance. If there is any position in the turn order which is noticeably doing worse or better, it should eventually become evident.
The reason I’ve been putting “fair” in quotes is largely due to how ambiguous being “fair” is, given so many variables and human choices, strategies, and reallife motives. However, my objective is to make a balanced game rather than an objectively “fair” tourney. In order to gather at least somewhat accurate data, I am trying to lesson individual player influence to help make the bracket “fair,” at least on paper.
This whole “21 participant, 5player” model that I’m so stubbornly adhering to was created by asking myself, “What’s the smallest number of games a participant could play and still get a chance at being each color (position in the turn order) and also facing every other participant?” Well, the answer is that each participant would have to play at least 5 games obviously, and since there would have to be 4 opponents in each of those games, there would be 20 opponents total plus the first guy (= 21).
So 21 is the smallest magic number for 5 player games. And it offers the unique distinction of only requiring opponents to see each other once (which, in my opinion, helps to lesson individual player influence over the data I desire). The next magic number for 5 player games is 42. Likewise, 7 is the first magic number for 3 player games, and 14, 21, etc. are the next ones.
The only reason to use larger “magic numbers” is to compensate for what @CWOMarc has noted: even with all these stipulations, there are still many inconsistencies, as a 3 or 4 or 5 player game has groups of players than could potentially be switched around and manipulated to change results. But…as we’ve all come to conclude, it is also easy to just swap one player with another to get another valid matchup. So if I scramble the players after each tourney, I’ll get closer and closer to an accurate answer.
My hope is that the game is already “fair enough” to the point that skill level, luck, and matchups play a much larger role than the color (or rather, the place in the turn order) that each participant plays. As I’m sure some of you are probably thinking, there are easier ways to playtest with acceptable accuracy than to go to all this trouble building something around a “magic” number that was created through preset rules. But being the curious, stubborn person that I am, I want to solve it this way; it’s fascinating; it’s unique; and although it’s imperfect, it will work for me if it’s indeed possible.
The 3 player variant that you did some awesome number crunching with @aardvarkpepper is a very good frame with which to build an intense 7 player tournament with perhaps 21, or even 105 games if desired. The 4 player variant, which I’ve found several solutions for, was so enjoyable in playtesting, that we’ve already reused it several times. I must take the time to examine more in detail, aardvark, the way you solved the 3P version, as it might work better than everything I’ve tried so far.

Your response to aardvarkpepper provides some interesting insights into why you’re developing this matrix, and it also raises some new questions. I’m not sure I’ve fully grasped what you’re getting at, but it sounds as if you’re trying to generate a massive amount of evidence in order to make a point by the sheer brute force of quantity. What I’m most unclear about is the nature of the point you’re trying to make by doing this. To put it as a question: are you trying to test your game’s level of balance for your own benefit (possibly because its balance can’t be proved from theoretical considerations alone) or are you trying to prove its balance to someone else who needs to be convinced? If it’s the latter, I doubt that a bunch of statistical data is going to overcome their scepticism. I don’t know if you’ve ever seen the original pilot movie for the eventual TV series Voyage to the Bottom of The Sea, but there’s a scene depicting an argument at the U.N. between two scientists, each of whom thinks the other is an idiot. Scientist B produces a stack of calculations which he says proves that he’s correct, puts them on Scientist A’s desk and says he’s welcome to check the figures for himself. Scientist A mumbles for a few seconds, looking at random through the stack of papers, then puts them down in disgust and declares that there’s no point in checking these figures because “I cannot be wrong!” So much for the scientific method.
When I talk about proving fairness (or lack thereof) from theoretical considerations, I’m referring to this sort of thing, quoted from something I remembered from Wikipedia: “Robert Feinerman has shown that the game of dreidel is “unfair”, in that the first player to spin has a better expected outcome than the second player, and the second better than the third, and so on. Feinerman, Robert (1976). “An ancient unfair game”. The American Mathematical Monthly. 83 (8): 623–625.” Or to use a different model, consider the buttered toast phenomenon. If a slice of toast, buttered on one side, were flung energetically into the air a hundred times under perfectly random conditions, it would land butteredsidedown exactly (or almost exactly) 50% of the time. Then why is it that, in real life, buttered toast sliding off a plate tends to land butteredsidedown significantly more often than 50% of the time? Because in real life it involves conditions which are relatively standardized rather than random. The slice of toast typically starts out sitting on plate butteredsideup being held somewhere between waist height and chest height by a human being roughly five to six feet tall. If the plate is accidentally tilted, the toast slides off and falls with an acceleration of 1G (9.8 m/s squared). Over the distance at which it was dropped, this typically gives the slice of toast enough time to turn over once but not twice – so it hits the floor butteredsidedown. I don’t know if all this has ever been proved empirically, by running hundreds of toast experiments (half of them randomized and half of them standardized), but even if it’s been done the numbers wouldn’t change my mind; the theoretical argument I’ve mentioned sounds convincing in and of itself. In fact, I’d find it much more interesting to read additional theoretical arguments demonstrating that the above model is wrong than to read masses of numerical data demonstrating that the above model is right.
But anyway, I agree that the matrix is, if nothing else, an interesting theoretical exercise in its own right – kind of like solving a “Seven Bridges of Konigsberg” type of problem. I don’t have the mathematical background to crack it, so unfortunately I can’t be of any help with it.

@cwomarc You hit the nail right on the head. Fairness is definitely a quality that is largely based on opinion and perspective. Luckily, I don’t have anyone actually complaining to me that the game is unfair—I think most of the players are much more focused on tricking and influencing each other enough to claim a win—which is exactly what I’d expect (and maybe even encourage) in a freeforall with 3, 4, or 5 people.
The main complaints I’ve gotten are more like, “Bob kept screwing me up because he moves right before I do.” That’s where the idea of only having to play against every opponent once came to mind, in an attempt to lessen some of the luck of the draw that’s involved.
As you may have noticed, I’ve been almost maintaining a bit of secrecy about what this game is, and that’s because it’s actually something unique we came up with. This is just me being hopeful and daydreaming, but I think the game may have market value, even if only in a digital format. There have been flaws, and we’ve been tweaking the setup try to fix that. I think the setup is at a decent standard now, but hosting these tournaments will give me a good idea of whether or not it needs more work.
I must say, I’m amazed at the depth of thought you and aardvark have explained in relation to what actually goes on in the minds of players in large competitions. I have been focusing so much on the math and given little thought to the amount of psychology involved in tactics and motivations. It’s something I’ll definitely try to consider more in any future tournaments where outside factors and reallife pressure can play a heavy role.

The fact that you haven’t said anything specific about how your game works actually makes it easier to discuss it from a broad theoretical perspective. The theoretical issue I’m wondering about at this point relates to what you mentioned here: “The main complaints I’ve gotten are more like, “Bob kept screwing me up because he moves right before I do.” That’s where the idea of only having to play against every opponent once came to mind, in an attempt to lessen some of the luck of the draw that’s involved.”
What I’m wondering is: to what degree are you trying to eliminate (or compensate for) factors which give one player a potential advantage over another? And with all those factors eliminated, what does the game outcome actually end up hinging on? There has to be some way for Player X to gain advantage over Player Y, because otherwise there would be no mechanism for winning the game. I’m not expecting any answers, since your game is confidential; I’m just framing these as questions for you to think about.
Even though nobody wants to play a game that’s unfair, the flip side is that wants to play a game which is so perfectly balanced and utterly fair that it’s dull and pointless. Games are inherently conflictual. Okay, an exception can be made for certain Eurostyle games in which the focus is on teamwork rather than winning and losing, and perhaps that’s what you’re designing, but I’m going to assume that we’re talking about conventional adversarial games. Let’s take A&A, and the conflict which inspired it, WWII. In simplistic terms, the Axis powers start out in a position of military strength and economic weakness, while the Allies start out in a position of military weakness and economic strength. Is this situation balanced? Arguably yes, since each side has both strengths and weaknesses. Is the situation symmetrical? Definitely not, because the strengths and weaknesses are different on the two sides. Is it fair? That’s a matter of opinion. Does it make for an interesting game and an interesting historical event? Absolutely yes.
One final observation about turn order, by the way. The quintessential noluckinvolved game, chess, has a turn order: White plays first. Does this mean that chess has a deep structural flaw and is inherently unfair? I don’t think so. There was a Soviet chess grandmaster (I can’t remember his name, so I’ll call him Soandso) who was once asked if he preferred playing White or Black. He answered, “It doesn’t matter to me. If I play White, I win because I play first. If I play Black, I win because I am Soandso.” Blaming one’s defeat on turn order alone is simplistic, unless the game is so badly designed that turn order inherently gives one side such a clear advantage. In such a case, the bias will be obvious without having to play dozens of game to verify its existence.

Success!
I hope I’m not crying wolf (I will double check later), but I believe I found a solve!
Thanks so much for your help gentlemen! Your ideas gave me an idea for a fun way to do this:
A more generic table can be created by making the top row “player 1 through player 21” and substituting likewise wherever the roundel or chip repeats. Each column represents a game, with position in the column determining turn order.

@cwomarc For the turn order, I would like to go back to the Axis and Allies analogy. In A&A depending on your place in the turn order, the nation that you’re playing changes. And that’s a big deal. Not because you’re going first, third, or last, but because of drastic differences between nations. With our game, it’s a similar scenario. Red is the last player that moves. But the fact that red goes last isn’t so much the issue. It’s the fact that being red gives the player a certain predetermined setup that no other color has. And if necessary, we could change that setup. Turn order, in and of itself, doesn’t play much role. Rather it’s who you’re playing with and what color you are. But indirectly, turn order does determine your color AND who moves before and after you, so it actually does play a big role in this setting.
Think of it like this. In Pacific 1940 the are five people. Let’s say I’m third in the turn order, so I’m China. If every game we play, China gets totally destroyed, even when Japan loses. We might want to consider giving China some more forces to help counter that. Now Axis and Allies is WAY more complicated and teambased, so that would indeed be a very simplistic way of doing this. But I hope that gives a better idea why turn order is important, because it isn’t just about when you get to play; it also determines what nation/color/or whatever that you get.
Now, to put another idea in A&A terms, let’s talk about “Bob” again. Let’s say that he was playing as China. And he complains that another guy, “Joe,” the UK player, never sent him any help through Burma, because maybe Joe is an adventurous guy trying to fight Japan in Java. So if Bob keeps getting Joe on his team, he might feel like he’s at a disadvantage, and more importantly, it might skew my data to make it look Bob is always losing and obscure the real problems, such as maybe China is too weak.
These are imperfect correlations, but I think it might explain a little better what I’m trying to say.

In A&A, players know in advance who will play which power, and they know in advance which power gets to play in what order. They know in advance who will play which power because, prior to the start of the game, they’ll have come to an agreement about it – either by a random draw, or by mutual agreement, or whatever. And they know in advance which power gets to play in what order because the turn order is prescribed in the rulebook:
 Germany
 Soviet Union
 Japan
 United States
 China
 United Kingdom
 Italy
 ANZAC
 France
In your game, it sounds as if one or both of those elements have been discarded. It sounds as though the five colours don’t play in a predetermined order, and it sounds as though the players don’t get to choose which colour they play. Rather, it sounds as if these things are determined either by the game system, or by the actions of one or more players, or both. To use the analogy of a fivepart train consisting of a locomotive and three passenger cars and a caboose, it sounds as if the game starts with somebody somehow being assigned to the driving the locomotive (and therefore getting to play first). The results of that person’s firstplayer actions then determine who gets assigned to the first passenger car (and therefore getting to play second). And so on, until the last remaining person ends up being put into the caboose. And it sounds as if one of your playtesters is complaining about being stuck in the caboose, a problem which you’re wondering could be remedied by changing the configuration of the caboose to make it more comfortable. At least that’s how I’m interpreting your (understandably) cryptic remark that turn order determines what colour/nation you get. I say “understandably cryptic” because I realize you want to keep the details secret, which is fair enough and which is why I don’t think I’ll have any further questions on the subject. Good luck with your project.

I think you need to decide whether you’re trying to use statistics and “science” to justify a position, or research a position.
As I’m sure some of you are probably thinking, there are easier ways to playtest with acceptable accuracy than to go to all this trouble building something around a “magic” number that was created through preset rules. But being the curious, stubborn person that I am, I want to solve it this way; it’s fascinating; it’s unique; and although it’s imperfect, it will work for me if it’s indeed possible.
Given that quote, I think you already know what I’m talking about. So why say something you already know? Because I’m saying, as a friend would, just a reminder about perspective. I’m not saying it’s wrong to do what you want to do how you want to do it. But is it really about detecting balance issues in the game, or is it about exploring a mathematical process you find interesting? (In reading through comments after starting this reply, I noticed CWO Marc already brought this up, pardon the repetition).
Is it about getting a product out the door, or about things you may find along the way? If the latter, then by all means, most certainly look into the round robin tournament algorithm. If the former, well.
As you may have noticed, I’ve been almost maintaining a bit of secrecy about what this game is, and that’s because it’s actually something unique we came up with. This is just me being hopeful and daydreaming, but I think the game may have market value, even if only in a digital format.
I wish you every success, but from what I’ve seen, my understanding is you can secure rights to things related to physical processes, but you cannot protect ideas. So you can copyright artwork and such, but you cannot protect, say, the idea that a certain number of dice are rolled and having a number or less indicates a “hit”. You can secure rights to the “Tap” symbol in Magic the Gathering but you can’t prevent other games from rotating cards to indicate conditions. And so forth. I am not a specialist in copyright or trademark, or a lawyer, nor do I have much familiarity with international law, but you may find what I’m saying to be the case.
Am I saying to not maintain secrecy? No. Maintain secrecy by all means. I think were you to open the idea to others, you would find few others that would be able to contribute meaningfully, and a lot of unasked for unproductive advice that even when accurate (which it often wouldn’t be) simply wouldn’t apply to your particular circumstance. When you have the product in release state, you’ll have the advantage of competitors needing to take time to reverse engineer the systems (so to speak) so even if they copy it, they may not be as successful. (Though be aware someone can take what you’ve done, slap on a few distinct features to try to make it more marketable and/or profitable, then overtake your market share. There are literally companies that do only this.)
All right, so the project is secret, but still, a few comments.
 I recommend using a modified Elo/Glicko formula, with, hm, I don’t know the word for the concept.
As I understand it, Elo/Glicko something like respective player ratings are plugged into a formula, and you get an output that you can interpret to get the expectation a particular player wins or loses. After a match is completed, a player’s rating rises or falls, which is how the system selfcorrects.
You probably already know that the, is it “k” value changes depending on the situation? Particularly in I think chess federations FIDE and USCF (are those the names?), you have a high k value while playing your first I think it’s 25 matches, so your rating can correct more quickly. After you finish your provisional games you’re assigned a rating, and instead of using the provisional k value which is high, you then use a new k value for all future games, which reduces the ratings gain/loss you would otherwise get. Then after you reach  I don’t know, Master or something, your kvalue decreases yet again. And I think Glicko maybe introduces something like a consideration for real time elapsed, like if you don’t play for a long time, you may get rusty, but your fundamentals are still strong so you can catch up, but maybe you don’t get the rust off because you’re not active . . . colloquially speaking.
So obviously it’s going to be a little more complicated because instead of using only two ratings, you’d ideally use multiple player ratings.
Well, that much is pretty predictable I guess, but I think the tricky part is assigning instead of a constant kvalue (or even a kvalue that varies under different conditions), you assign a nonstraightline curve to player actions.
Suppose I say you have a 10% chance to win a game, and that you typically play a “conservative” game. If you know your chances are 10%, then aren’t you more likely to play differently than your usual manner? This may increase your chances or decrease them, but functionally you’re using an entirely different playstyle.
So you see what I mean about using a nonstraightline curve, right?
Anyways, there’s a lot of hurdygurdy mysticism mumbojumbo in the mathematics because who really knows if the curve you’re using is correct? Just as I think initially for Elo systems they used a standard distribution for prediction but it was found the normal distribution was more accurate, or was it vice versa? I forget. And I won’t even get into the specific value of k; anyways you use data received to correct the formula . . . er . . . okay, hopefully you understand what I’m getting at.
Which is, instead of having a readily understandable system that perhaps breaks apart under examination (as I mentioned when talking about cabals of players, differing motivations, and changing playstyles)  instead of saying “well, if you take this PARTICULAR case then the whole testing regimen falls apart”  instead of having a more readily understandable process, instead you use some godawful mutation of Glicko which is itself a mutation of Elo, which has all sorts of complicated variables and nonlinear this and that, and if investors dare to try to understand it, you just look them in the eye, nod, and say you understand their concerns and can they perhaps point out which specific part of the equation should be changed? You say major federations using ratings formula found it necessary to change formulas over time, you show how you’ve built in selfcorrecting measures so feedback from data selfcorrects the specified variables in the formula, and I’ll bet you dollars to donuts they’ll suddenly find something very interesting just outside the window.
Mind, you do need some serious mathematics and methodology in case someone takes your report back to some serious analysts, but your system is even somewhat reasonable, then by using formulas instead of an extensive and rigid paradigm, you have more freedom.
Of course, you then say that the formulas need something like 5,000 inputs (or whatever) to arrive at a baseline, then say you expect the formulas to change depending on data, then you’re covered and everyone’s covered . . .
Right. It’s not that you are TRYING to be obscure (wink wink). It just works out that way (wink wink).
 For a digital format, I suggest multiple winners per game and multiple variable win conditions.
Say you have a 5 player game that ends up with 4 losers. If it’s a board game played live, you know the actual people, maybe you’re all watching a movie on TV or whatever, sure, fine, whatever, if someone loses again and again they don’t care, they’re there for the pizza and wings and football game. But digital? They’re not there for the pizza, wings, football game, if digital you’re taking them away from that. So as manipulative as it is, it’s even more important for players to feel their ingame actions matter, that they had fun, that they had a chance to not just win, but win on their terms, and the game needs to be designed that way.
 Corrective and catchup measures but cut it short. Let’s say game starts, you get screwed by dice (if there’s dice in the game or whatever). Then you get screwed some more. Then you’re like eff it, you don’t even want to play, but you’re stuck because the rules don’t just let you quit. (Or do they?) So how are you going to stay interested in the game? If there’s a comeback mechanic and/or multiple win conditions, that’s one way.
But you have to can’t get carried away with comebacks, you have to make sure the game ends before too long. Don’t get me wrong, there’s players that want the fourteenhourexperience, and if you really want to cater to that, then by all means, totally ignore what I’m saying here (know your audience and cater to them!) But if you’re going for a casual market, then players don’t want to get into a game that offers every opponent a comeback, then the game just gets drawn out.
==
In closing  all right, so your process is secret, and you will do things your way. Sure. But I want you to realize cabal formation in multiplayer groups is natural and expected, that player motivation is going to be different to simply trying to “win” some abstract “game” by the rules in the box. You must not think of things in terms of one player “bullying” another. Nor should you assume every player is going to play it fair, above board, and try to win only by themselves and for themselves. It should be completely natural and expected in your predictive model that when there are two friends in a game, one of which is bad at the game and knows s/he is bad, that that friend will sacrifice themselves to assure the other’s success. It should be completely natural and expected that a player that is losing badly will try to eliminate a winning player, not because they are spiteful, it’s very natural for players to want to feel that they are personally significant and that their decisions matter; by changing the outcome of the game they feel they accomplish just that.
more philosophical in nature than I actually feel is necessary
If you already have your core clientele and marketing strategy all worked out, of course it is more philosophical than necessary.
But since you know I have no way of knowing you’ve done that based on what you’d written to that point, it’s a thinly veiled hint that I’m wasting my time  and perhaps yours, if I may be so bold.
It is indeed a valuable life lesson to remember that no matter how much time one may spend on something, if it is not exactly what someone else wanted, such effort may at best go unremarked, or even earn a reprimand.
I thank you for your reminder to value others’ time, and to spend one’s own time wisely. It really is good to be reminded of these things time to time.
being the curious, stubborn person that I am
Me too, you know? Me too. I hope you will view what I have written in this light, and pardon me for not having developed and presented an algorithm for you to get the special round robin tournament generator you wanted. (Edit  having read this after it was written, I feel that may have come off as having intended disrespect. That was not the intent; as I commented earlier I do think it’s just an application of combination and permutation mathematics; I could write a computer program to generate and test sequences myself if I had some more programming knowledge; I don’t imagine it would take more than half a day if I were familiar with the commands I’d need. (Though if I’m wrong about the core mathematics (which would become evident in the check step after data generation) it would take a lot longer.)) But you can see if it really isn’t a big project (which I think it might be), no disrespect was intended, if I could have done, I think I might have done it for a bit of diversion even. Well, I still have a ways to go with programming so eh.
I saw from a post in this thread you seem to have already found one solution; congratulations and I wish you every success with your project! I would imagine, that solution being found, that your objectives with this thread are met?

@cwomarc I think I’ve been unintentionally making confusion by mumbling several things together —
playtesting the game itself
hosting a tournament
and figuring out the mathematical relationship I wantedFor the tournament, players would not get to determine their color or position in the turn order because I’m going to base it off of the chart I showed earlier. However, after playtesting, the final game should be just like Axis and Allies and most other games, in which players pick or agree on who plays what. So the game isn’t going to decide that for the players. I’m just arbitrarily choosing to do so to try to make a tournament for playtesting. My goal is to eventually have a game where all colors and places in the turn order are equally appealing.
Anyway, I don’t want to take any more of your time, but before you leave, I want to thank you for all the helpful questions and information you’ve shared! I knew I’d get some excellent advice from this forum.

@aardvarkpepper Now that you and Marc have talked through so many different aspects that I wasn’t even considering, I must admit, doing the tournament this way wasn’t necessary, and it’s far from being foolproof. It’ll work, but as you guys pointed out, it doesn’t account for some variables or human choice.
But, my motivation (aside from having fun with everybody that’ll play) is definitely to research how biased the game might be. I’m concerned that there might be significant advantages or disadvantages to certain colors, and if there are, I hope to spot them and make adjustments. I’m thinking that the setup is already pretty well balanced, but I want to put everything to the test, because we’re not sure yet.
I really haven’t given much thought to any of the legal or marketing aspects of actually selling a game, so I’m glad you brought that up as well for me to seriously think about. And make no mistake, I appreciate every argument you’ve given. The mathematical relationships you discussed are part of what made solving this so easy. Your advice is always welcome and helpful.
If I ever think about hosting another tournament or convincing someone to accept the wacky house rules and games we come up with, I’ll be sure to read this thread again. But right now it looks like I’m ready to organize a tournament! So until we meet again, take care gentleman.