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

Re: [pbmserv-dev] Solitaire game scoring



On Thu, Apr 15, 2004 at 03:41:15PM +1000, Cameron Browne wrote:
> I'm wondering how to best handle scoring in solitaire games.

Are we likely to see a flood of solitaire games? You've run
out of connection games, haven't you? :-)

> Would it be better to use the player's average score over all games 
> instead?

Good idea.

> 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 would make it extremely hard to change your standing
after a "certain" number of games. You still want to be able
to move up if you're getting better, or down if you don't
pay attention, whithin the span of a "few" games. I'd
suggest something like:

new_standing = old_standing + ( new_score - old_standing ) / 10


Y.