Need help with Group Matching Algorithm
No Coding is needed on your part, just the logic and guidance.
This is how it works:
1. User A selects up to 3 sports and presses Group Match Button
2. User A is now in loading screen and sees himself and 3 other empty profile pictures
3. User B joins into loading screen, Now user A sees himself, User B profile picture, and 2 empty profile picture
4. User C joins, then user D joins and now all 4 profile pictures are filled and a CHAT is created.
5. Users can only "Cancel Match" during loading screen or leave/delete created chats.
A simple guide for the algorithm of this kind of matching will be needed. Everything else in the app is created including the chat. Just missing this Group Matching Feature.
We are using firebase which is BaaS, can you suggest how we can achieve server-side logic only for the group matching? Fairly new to coding (using swift) so I'm looking for a guide on what i should be doing.