This wiki was in read-only mode for many years, but can now be edited again. A lot of information will need to be updated.

Category talk:Gameplay

From BZFlagWiki
Revision as of 03:01, 22 August 2009 by Optic Delusion (talk | contribs) (Normalized Score?)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

I spent some time looking and couldn't find any info about Normalized Score. Seems like this might be worth adding to the wiki, as it's frequently imsunderstood. but I can't decide where to put it. Gameplay or Client areas? Here's what I found out, if anybody feels like adding it to the wiki. From clientbase/Player.cxx: float Player::getNormalizedScore() const Code: ((float)wins - losses) / ((wins+losses>20) ? wins+losses : 20) means: (wins - losses) / (if (wins + losses > 20) then wins + losses, else 20) Q: Why is the 20 in the formula? A: without the '20 hack', you would geta divide by zero error for (wins + losses) == 0.