-3
$\begingroup$

I need to create a equation to distribute points for users in the following game:

There are x users that play a game. If only one of them hit he gets max points. If all of them hit each gets min points. Everything between should be proportional.

Number of users, max points and min points are variables.

$\endgroup$

1 Answer 1

-2
$\begingroup$

We can assume that $n \geq 2$, where $n$ is the total number of players; the one-player game can you figure out yourself.

Let $\alpha = (hits-1)/(n-1)$, where $hits$ is the total number of hits. Note that $\alpha=0$ if only one player hits, and $\alpha=1$ if all player hits.

Then, using a weighted mean, each player that made a hit, gets $min\cdot \alpha + max \cdot (1-\alpha)$ points.

$\endgroup$
1
  • 4
    $\begingroup$ Please, do not answer non-reseach level questions… $\endgroup$ Apr 10, 2014 at 13:22

Not the answer you're looking for? Browse other questions tagged or ask your own question.