Finds a suitable opponent for the given player. If no opponent is found, adds the player to the matchmaking queue.
The username of the player.
An object containing the usernames of the matched players and the match ID, or undefined if no match was found.
Finds a suitable opponent for the given player. If no opponent is found, adds the player to the matchmaking queue.