I am building an app in which users can join gaming tournaments and also challenge each other for box and ps4 gaming.
Here is the flow - when a user joins a tournament of 24 members, he is added in the tournament as a player.
A match happens between 2 people. I want to understand how I can create 12 matches between these 24 players and also create a winning structure in which the winner goes ahead.