team-match code to find a match for a player in mulitplayer environment. 1 vs 1 team vs team player support