PDA

View Full Version : Best Map Algorithm?


shrode
04-14-2011, 01:09 AM
What kind of algorithm do you use to determine best map?

The reason I ask is that think 4-0 is better than 3-0

http://img864.imageshack.us/img864/1885/maps1.jpg

ryebone
04-14-2011, 01:13 AM
My guess is by percentage, and if there's a tie then it goes to map that was initially played first (in your case, cave) because it goes into the database first. Complete guess.

sunshineduck
04-14-2011, 01:14 AM
i always thought it was average points gained

shrode
04-14-2011, 01:15 AM
well it should be reworked!

nobodyhome
04-14-2011, 01:15 AM
honestly i have no effing clue. eth did this a while ago. i'll look into it later.

shrode
04-14-2011, 01:26 AM
ideally it should should be win% and then if multiple are tied it should go into win count and then lastly average rating change and then if still tied who cares i guess lol.

nobodyhome
04-14-2011, 01:34 AM
the problem with that is your win% for a map is inherently tied to whether or not you happen to be overrated or underrated at that moment. i'm not sure there is a good way to resolve this.

elxir
04-14-2011, 01:44 AM
just make it the one u have most wins on

would be cool, actually, to be like best map: ball_cave (54-50)

shrode
04-14-2011, 01:48 AM
just make it the one u have most wins on

would be cool, actually, to be like best map: ball_cave (54-50)

strongly disagree. everybody's best would be roids or cave on tbd.

shrode
04-14-2011, 12:09 PM
My guess is by percentage, and if there's a tie then it goes to map that was initially played first (in your case, cave) because it goes into the database first. Complete guess.

nah it's not this. I just had my first game as mayhem2 and now it's my 'Best Map' even though I'm still undefeated on cave. I honestly think it's the map with the least games played if it's tied for some broken reason.

Tekn0
04-14-2011, 12:12 PM
Shrode you just want ball_ufo listed as your best map don't you?? :D

shrode
04-14-2011, 12:59 PM
ladderlobby imo

shrode
04-18-2011, 07:20 PM
Another thing that is related- how does one have a worst map/worst enemy if they are undefeated? That seems silly, and would be solved fairly easily it seems.


if (number_of_losses == 0)
{
worstMap = "None";
worstEnemy = "None";
}

I understand this could be complicated by the fact that "None" isn't technically a map, but I'm sure you could figure something out.

Oh, also the reverse should be true for having no wins and bestMap/bestTeammate

Boko
04-19-2011, 12:29 AM
if (number_of_losses == 0)
{
worstMap = "None";
worstEnemy = "None";
}


Useful code is useful

shrode
04-19-2011, 08:42 AM
cause it took so long to type