[Cs5500] Reputation formula

James Vega jamessan at ccs.neu.edu
Tue Mar 8 12:02:37 EST 2011


On Tue, Mar 8, 2011 at 11:27 AM, Yue Liu <liu.yue at husky.neu.edu> wrote:
> Assume avatars will get 100 reputation initially, we need to chage the
> percentage sign "%" to "/1000".
> So the formula will be:
>
> If winR >= losR,         // winner's Reputation >= loser's Reputation
> exchangeR = losR*(baseR - (winR - losR))/1000;
> Else,
> exchangeR = losR*(baseR + (losR - winR))/1000;

There's no need for two cases here.  The second case will naturally
happen if winR < losR since (winR - losR) will be a negative number.
Otherwise, I think the suggested formula does address most of the points
brought up in class.



More information about the Cs5500 mailing list