time-based point system

Jay jaysherby at gmail.com
Thu Sep 14 00:03:35 EDT 2006


That function is absolutely no good for this situation.

1. Take a small number.
5.4348809719085693

2. Put it in the function.
f(5.4348809719085693) = 1/5.4348809719085693

3. Get a large number???
0.18399666987533483

That number is even smaller.  I want a large one coming out.

Erik Max Francis wrote:
> Jay wrote:
>
> > Okay, this is a game.  So the points are abstract.  It's like an arcade
> > game in respect to the points.  They don't actually mean or represent
> > anything.  The only point is to get a high score.  The idea is that the
> > faster the user acts (or reacts) the greater amount of points they'll
> > receive.  Simplified, I need a fuction or statement that takes in a
> > small number and spits out a big number.  The smaller the input, the
> > larger the output.
>
> There are any number of functions which fit this property, like f(x) =
> 1/x.  You'll have to define more clearly what properties of this
> negative function you want to narrow it down beyond that.
>
> --
> Erik Max Francis && max at alcyone.com && http://www.alcyone.com/max/
>   San Jose, CA, USA && 37 20 N 121 53 W && AIM, Y!M erikmaxfrancis
>    Get married, but never to a man who is home all day.
>     -- George Bernard Shaw




More information about the Python-list mailing list