Game score
Posted: Wed Apr 28, 2021 12:01 pm
I love maths! Sadly, Im terrible at it! Im hoping someone might help:
Im working on a game - I prefer not to give too much away right now,
so lets just say its like a puzzle. My problem is with the scoring.
The game is based on a grid and to solve the puzzle the fewer tries
the better. But the difficulty of solving the puzzle increases with
the size of the grid. The perfect score would be one try for each cell
of the grid (but that would have to be the result of pure luck!) There
is no absolute worst case as if one wilfully tries not to solve it one
could keep trying forever. But to put a figure on it, I suggest the
worst possible score would be the same as the cell count squared.
Ie, with a 5 X 5 grid the perect score is 25, and the worst score 625.
However, Id like to compress scores into an absolute, linear, range of
between 0..100, with 100 being the perfect score and zero being
rubbish. (The Richter Scale is an example of the sort of thing I have
in mind.) This to allow an equal comparison between easy games, ie
smaller grids with success in a few tries, compared to larger grids,
which require many more tries, not only because the grid has more
cells, but because the number of permutations increases.
It doesnt seem to me that the difficulty increases exponentially with
grid size, (at least not within the range of possible grid sizes
relevant here) though, more than merely linearly. And this may be what
confuses me, and which may make the question impossible to answer: I
cant say for sure how grid size affects difficulty. (I could show data
from some real-life results if that might help..)
Does anyone recognise a pattern here? Is there a formula that can
achieve what I want?
Im working on a game - I prefer not to give too much away right now,
so lets just say its like a puzzle. My problem is with the scoring.
The game is based on a grid and to solve the puzzle the fewer tries
the better. But the difficulty of solving the puzzle increases with
the size of the grid. The perfect score would be one try for each cell
of the grid (but that would have to be the result of pure luck!) There
is no absolute worst case as if one wilfully tries not to solve it one
could keep trying forever. But to put a figure on it, I suggest the
worst possible score would be the same as the cell count squared.
Ie, with a 5 X 5 grid the perect score is 25, and the worst score 625.
However, Id like to compress scores into an absolute, linear, range of
between 0..100, with 100 being the perfect score and zero being
rubbish. (The Richter Scale is an example of the sort of thing I have
in mind.) This to allow an equal comparison between easy games, ie
smaller grids with success in a few tries, compared to larger grids,
which require many more tries, not only because the grid has more
cells, but because the number of permutations increases.
It doesnt seem to me that the difficulty increases exponentially with
grid size, (at least not within the range of possible grid sizes
relevant here) though, more than merely linearly. And this may be what
confuses me, and which may make the question impossible to answer: I
cant say for sure how grid size affects difficulty. (I could show data
from some real-life results if that might help..)
Does anyone recognise a pattern here? Is there a formula that can
achieve what I want?