2012-02-23, 10:02:14
(This post was last modified: 2012-02-23, 10:02:34 by Velocity2k.)
We could also do something like:
rank = current_points + max(0,min(50,(won_games-lost_games)))
All top players have positive won_games-lost_games. The "max" is needed if won_games-lost_games gets negative.
But i'm currently not sure if this is the right way. At least with this method not only the number of games count.
For the xpelo you could just use won_games+lost_games
.
rank = current_points + max(0,min(50,(won_games-lost_games)))
All top players have positive won_games-lost_games. The "max" is needed if won_games-lost_games gets negative.
But i'm currently not sure if this is the right way. At least with this method not only the number of games count.
For the xpelo you could just use won_games+lost_games
