this is for holding javascript data
João Paulo Pesce edited 2.tex
about 10 years ago
Commit id: d37881ea7fef08ef0c18a6bc7c5f8747fe8ffb60
deletions | additions
diff --git a/2.tex b/2.tex
index 0d58c17..be80279 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 +
\Bigg(\frac{d}{1000}\Bigg)} \left(\frac{d}{1000}\right)}
\end{equation}