Quantcast
Channel: Photon Unity Networking (PUN) — Photon Engine
Viewing all articles
Browse latest Browse all 8947

Matchmaking Logic

$
0
0
Hi, i'm creating a ccg game but right now I need a little help about the matchmaking logic: I want to create a mm that is skill based and yes i've already read the documentation.

The problem is what to do when a player press the button "SEARCH FOR A MATCH". Assuming i've only one lobby for everyone:

I start searching in the room list then if I find a room with an ELO difference of 300 i join that room. If not i create a new room with a custom field with my ELO (to calculate the diff) but i want to search again in the room list after like 3 seconds increasing the Elo diff to 500, then again and again until i find a room or until someone joins mine.

Is this the right way to do it? Can i search and join a room if i'm already inside another?

Thanks in advance and sorry for my eng.

Viewing all articles
Browse latest Browse all 8947

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>