[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[pbmserv-dev] Solitaire game scoring



I'm wondering how to best handle scoring in solitaire games.

Robots implements a high score table in which only the highest score for each player is shown. This is a bit dull since a player's standing will not change very often, and almost never if they achieve a freak high score.

Would it be better to use the player's average score over all games instead? The total number of games played is given by Wins+Losses+Ties, so after a game the player's new standing could be calculted as follows:

                   (old_standing * total_games) + new_score
  new_standing  =  ----------------------------------------
                               total_games + 1

This is not a true average, just an approximation using the available information. The more games a player finishes, the less impact each new score would have.

Cameron