Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8087547
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T18:48:45+00:00 2026-06-05T18:48:45+00:00

(This is for a game I am designing) Lets say that there are 2

  • 0

(This is for a game I am designing) Lets say that there are 2 teams of players in a game. Each team will have 4 players. Each player has a rank(0-9), where 0 indicates a bad player and 9 indicates an amazing player. There is a queue (or list) of players who are waiting to play a game (This could be a small number or a very large number). Lets say that each teams’ overall rank is an average of the 4 players within in. There are multiple open games and teams where a player can be placed.

Question: What is a good algorithm that places a player in the waiting queue/list on a team so that each team in a game will have more or less the same overall rank in a game (Does not have to be perfect)? Also, the players should not have to wait more than a minute to be placed on a team(Can be more if very little players) [The faster they are placed, the better]

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T18:48:47+00:00Added an answer on June 5, 2026 at 6:48 pm

    You should start to build the table with one person. If person A has a rank of 8, and another player joins the game with a rank of 4, and your placement guide is a factor of 2, then

    Player A has the table
    Player A has a rank of 8

    Player B enters the room
    Does player B not have a rank between 6 & 10?

    if (Brank < Arank - 2 || Brank > Arank + 2)
    

    If that is true, then the rank is not within the limits of the table and you should start a new table with Brank as the rank you compare to.

    If that is false, then the rank is +- 2 of the table’s declared rank and that player can join.

    If you really want to get fancy, you can declare the ranking based on the number of people waiting for a table.

    If 100 people in lobby, make the limit +- 2.
    If 15 people in lobby, make the limit +- 4. (make it more uneven game, but will not cause people to wait as long).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this game where balloons are coming from bottom and player has to
I'm designing a game server and I have never done anything like this before.
I'm designing a text-based adventure game for a school progress. I have each level
I'm designing a game that requires the players to know the GPS real-world location
I'm designing a UI manager class that will manage all my UI elements (this
So I have this game database, where I have several users with fields, id,
I have this game with some variety of textures. Whenever I draw a texture
I'm making this game where I'm trying to pair people. So I have this
I'm designing a game where a character has many items and those items can
I have been designing a game for a University project, and I thought it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.