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.
You could rank them by total profit. If ante is 1 and there's no
betting, then the profit would be wins*5 - plays.
--
Konrad Gaertner - - - - - - - - - - - - email: kgae...@tx.rr.com
http://kgbooklog.livejournal.com/
"I don't mind hidden depths but I insist that there be a surface."
-- James Nicoll