Multiplayer team queue, depends on ELO

374 views Asked by At

im doing a project for a client, im totally out of mind how i should do it.

Firstly i will describe it: On my PHP web app, unique user have ELO, which is like a skill of player. Player can go in Queue system as a team (5players)/ mix/ as alone.

And now how I can match up players to plays against another team depends on his ELO, which language (i though good idea will be a node server, but currently im totally dont know which is better, i will have to learn it so tell me which is the best for it, becouse it doesnt matter for now me tho).

Is there any helpers of it/tutorials or anything bcs i cant get anything in google :(

Im really glad if you will help me. Thanks a lot!

1

There are 1 answers

3
LeNiglo On

You can try to have a queue of group of players (sized for 1 to 5) with a calculated average of their ELO. Then, you may have a worker that is constantly looking at this table/collection and that compares average ELOs. When similar ELOs are found, you can merge the groups until you have 2 groups of 5 people with close ELO.

Node server might be a good choice but you can also do this using Laravel queues (https://laravel.com/docs/5.3/queues).

Hope it helps :)