Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail From: Bill Newsgroups: comp.games.development.programming.algorithms Subject: Need help on how to properly calculate rank Date: Thu, 23 Jun 2011 13:40:22 -0400 Organization: Aioe.org NNTP Server Lines: 18 Message-ID: Reply-To: Bill@hotmail.com NNTP-Posting-Host: 9ec8o9AnDt0SjWzFpmFRzg.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11 X-Notice: Filtered by postfilter v. 0.8.2 Xref: x330-a1.tempe.blueboxinc.net comp.games.development.programming.algorithms:15 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.