this is for holding javascript data
João Paulo Pesce edited 2.tex
about 10 years ago
Commit id: b326962f6ec9a75d6058112b982d9cd4a7193c28
deletions | additions
diff --git a/2.tex b/2.tex
index 3567cf6..d6746c1 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 further dividing $d$ by a factor of easiness
$e$ into the formula. $e$. 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 \cdot 1 +
\left(\frac{d}{1000}\right)^4} \left(\frac{d}{e \cdot 1000}\right)^4}
\end{equation}
With $e = 5$ we get