1. Enter how many players in your bracket 2. Enter how many rounds you would like to play (aka. how many matches each player will have to play in -1 if there's odd players) The scratch cat will tell you how many rounds to do a full bracket - You should use his suggested number if you want to run a proper round robin tournament.
I have commented my code so if you want to use this to generate a round robin bracket in your own project hopefully I've given good instructions on what you need and what's just useless pretty stuff. I haven't done any real work to make this pretty or foolproof, you can type in whatever you want if you'd like to break it. Press the green flag to reset. This is incredibly useful code that allows you to generate a round robin tournament programmatically - all of the matches are stored in the 2 lists so you could use this to actually have round robin in your games. Sharing because I've done all I need to do on this test project - I'm not sure if I'll come back to it. If I do come back it will be to make it look nicer and make the whole system fool proof.