Category talk:Gameplay

From BZFlagWiki
Jump to: navigation, 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.