The way I suggest you do this is by getting all the players names, and making a ladder out of them. Make it random. And if the player can't show up when it's their time to play, give them 1 more chance, then just make it an autowin for the person who didn't show up.