splewis / csgo-pug-setup

CS:GO Sourcemod plugin for setting up private pug/10man games
GNU General Public License v3.0
412 stars 90 forks source link

Questions regarding the map vote #386

Closed monobasicity closed 3 years ago

monobasicity commented 3 years ago

I couldn’t gain any insight about how exactly the map vote works from its source—I’m no programmer myself and code sadly doesn’t tell me much.

Thus, I have a very basic question about it: Is the map vote weighted? I.e. does it matter if a map is voted for first, second, or third? An example: If only two people vote for three maps each and let’s say the votes are as follows: Player A: 1st Dust 2; 2nd Vertigo; 3rd Cobblestone Player B: 1st Office; 2nd Agency; 3rd Cobblestone

Which map would win this voting? Cobblestone, because it was voted for by both players, or would it be a dice-throw between Dust 2 and Office, because both of them were first-picks?

splewis commented 3 years ago

Thus, I have a very basic question about it: Is the map vote weighted?

No, there's no weighting, only rounds of votes where the lowest choice is eliminated and votes for it get redistributed to their next preference.

Here's one explanation I found online (it's a very common voting system): http://instantrunoff.com/instant-runoff-home/the-basics/

Your example is just a tie on the first round, and would randomly select dust 2 or Office.

monobasicity commented 3 years ago

Thank you for your answer. I have honestly never heard of this voting system before, so that was something new. Now, how do I mark this issue solved?