edit: This thread is in programming, just as one would expect.
I'm making a kinda endless flag web quiz/game. Nowt serious/clever, just for the fun of it. Here:
(probably won't yet work well on older browsers)
I originally had the 'score' as the %age of right answers but then people who only played a couple of times, with all correct answers, stayed at the top of the table.
So obviously I needed some sort of weighting. I want to reward people for a combination of playing lots and being right. I currently have:
rv + cm / v + m
r = player's %age right answers
v = player's number of plays
m = global average number of plays per player
c = global average %age right answers
(c is everyone's %age score added together then divided by the number of players NOT percentage of total right answers / total answers)
Ok so this is all fine. Works pretty well for the top and middle of the table:
But not at the bottom. The bottom player, with 63% right answers and lots
of plays should ideally be somewhere mid-table I think. Certainly not below someone with 40% right and quite few plays.
I'm not great at maths. I kinda see what it's doing - punishing for high plays while being below the average %age. Can anyone with more of a maths-head than me suggest a way to rectify that sort of thing without messing too much with the top of the table?