summaryrefslogtreecommitdiff
path: root/web/static/index.html
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-15 02:32:08 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-05-15 02:32:08 -0700
commit4bec4883792f86cd835936113a9d39bebcf0344f (patch)
tree1aa8016379829e6e58c64aef2424b417ac823b50 /web/static/index.html
parent44519eb0c9d1c4bc5295708bd8feeb174c04825a (diff)
downloaddartboat-4bec4883792f86cd835936113a9d39bebcf0344f.tar.gz
dartboat-4bec4883792f86cd835936113a9d39bebcf0344f.tar.xz
web: implement difficulty abstraction for stdev
Diffstat (limited to 'web/static/index.html')
-rw-r--r--web/static/index.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/static/index.html b/web/static/index.html
index 2ed654b..472247d 100644
--- a/web/static/index.html
+++ b/web/static/index.html
@@ -17,7 +17,7 @@
<div id="titlebar">
<div>dartboat™</div>
<div title="Delay between computer's darts (ms)" class="input first"><label for="delay" class="icon">&#xf597;</label><input id="delay" data-opt="delay" maxlength="4" value=""></div>
- <div title="Computer's accuracy (lower is more accurate)" class="input"><label for="stdev" class="icon">&#xf1de;</label><input id="stdev" data-opt="stdev" maxlength="4" value=""></div>
+ <div title="Difficulty (precision of computer's throws)" class="input"><label for="difficulty" class="icon">&#xf1de;</label><input id="difficulty" data-opt="difficulty" maxlength="2" value=""></div>
<div title="Toggle controls side" class="button icon" id="flip-controls-button">&#xf1c3;</div>
<div title="Help and info" class="button icon" data-modal="help-modal">&#xf50b;</div>
</div>
@@ -75,8 +75,8 @@
<h2>dartboat</h2>
<p>dartboat uses an internal representation of a specification dartboard. Darts are thrown following a normal distribution, with the resultant coordinates used to calculate the segments in which they land. The idea is that this provides a more realistic opponent than picking points at random.</p>
<h2>Settings</h2>
- <p><span class="icon">&#xf597;</span> <em>(delay)</em> — milliseconds it takes the computer to throw each dart.</p>
- <p><span class="icon">&#xf1de;</span> <em>(stdev)</em> — the standard deviation of the computer's throws in millimetres. A value of 24 translates to a three-dart average of roughly 35. A value of 13 would be a 65 average, and a value of 8 a 95 average.</p>
+ <p><span class="icon">&#xf597;</span> <em>(delay: 0-9999)</em> — milliseconds it takes the computer to throw each dart.</p>
+ <p><span class="icon">&#xf1de;</span> <em>(difficulty: 0-99)</em> — precision of the computer's throws. Starting with a three-dart average of 10 points at difficulty 0, every difficulty increase of 8 corresponds to an average points increase of 10, e.g. difficulty 32 would be a 50-point average. (The rate of increase quickly increases upon reaching an average of 120 points.)</em></p>
<h2>Interface</h2>
<p>To avoid destructive actions being a misclick away, certain actions require two presses—one to activate the button and another to trigger it.</p>
<p>The controls are designed to be keyboard-friendly. The keys should be fairly intuitive for the most part.</p>