Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.games.development.programming.algorithms > #15

Need help on how to properly calculate rank

From Bill <Bill@hotmail.com>
Newsgroups comp.games.development.programming.algorithms
Subject Need help on how to properly calculate rank
Date 2011-06-23 13:40 -0400
Organization Aioe.org NNTP Server
Message-ID <itvtq7$n22$1@speranza.aioe.org> (permalink)

Show all headers | View raw


Hello,

I am working on a multi-player texas holdem poker game. Five people can 
play in the game at once. Players may enter and leave at any time. I 
would like to maintain an ordered list that shows how you rank against 
the other players in the game. The problem is I don't know how I should 
properly calculate the ranking of each player. I have the number of 
hands the player has played and won since they joined the game.

If I divide player wins by plays, I have a win ratio for a player. But I 
think a player that has 50 wins and 100 plays should rank higher than a 
player that has 1 win and 1 play even though they have a lower win 
ratio. So the amount of plays should be a contributing factor to the 
rank score. I then figured that the rank could be calculated by wins 
divided by plays times wins but I am unsure if that would be correct or 
if there is a better solution.

I would appreciate anyone's help in figuring this out, thank you.

Back to comp.games.development.programming.algorithms | Previous | NextNext in thread | Find similar


Thread

Need help on how to properly calculate rank Bill <Bill@hotmail.com> - 2011-06-23 13:40 -0400
  Re: Need help on how to properly calculate rank Konrad Gaertner <kgaertner@tx.rr.com> - 2011-06-23 16:30 -0500

csiph-web