this is for holding javascript data
João Paulo Pesce edited 2.tex
about 10 years ago
Commit id: 1f9dcc649531c3a34ea82afec44cfc44021a9f10
deletions | additions
diff --git a/2.tex b/2.tex
index af744ee..eca72b3 100644
--- a/2.tex
+++ b/2.tex
...
Ok, that works pretty well, but let's increment it slightly. Since the distance $d$ is given in meters, let's divide it by 1000 so the score adjusts accordingly. Also, let's stretch the curve by putting a factor of easiness $e$ into the formula. The higher the value of $e$, the more the curve is stretched and the more points the player gets. The formula is now:
\begin{equation}
S = \frac{e \cdot 100}{e +
{(\frac{d}{1000})}^4} {\left(\frac{d}{1000})\right}^4}
\end{equation}