Create a Tournament Matching Algorithm

I need to set up a round robin for a league/tournament. I found a video that guides me on creating a round that pairs all the teams randomly, which is fantastic. Now, I want to generate multiple rounds dynamically and ensure that in each round, teams don’t play against any team they’ve already faced. How can I achieve this?

Create a Tournament Matching Algorithm - Bubble.io Tutorial
https://www.youtube.com/watch?v=DoPVoA5ThPI

Not sure how you set it up to generate the rounds but you are almost certainly picking from a list of teams. Therefore to exclude teams that this particular team has already played do a minus list of all teams that already played this particular team (that minus list is likely extracted from previous games that this particular team played (getting the opposing team from each of those games))

1 Like