diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-05-07 17:10:24 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-05-07 17:10:24 -0700 |
commit | 152324418166cbb915a9489e6673d196ad364a70 (patch) | |
tree | ead18aa152df5139c15e33e20aadf00fde7077be /web/static/index.html | |
parent | a9c00736996b1c53dfb615f62c4bb3b1d3619ef0 (diff) | |
download | dartboat-152324418166cbb915a9489e6673d196ad364a70.tar.gz dartboat-152324418166cbb915a9489e6673d196ad364a70.tar.xz |
web: stylesheet cleanup
Diffstat (limited to 'web/static/index.html')
-rw-r--r-- | web/static/index.html | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/web/static/index.html b/web/static/index.html index bf7a890..e195e0b 100644 --- a/web/static/index.html +++ b/web/static/index.html @@ -10,6 +10,13 @@ </head> <body> <div id="main"> + <div id="titlebar"> + <div>dartboat™</div> + <div class="input first"><span>delay</span><input id="delay" data-opt="delay" maxlength="4" value=""></div> + <div class="input"><span>stdev</span><input id="stdev" data-opt="stdev" maxlength="4" value=""></div> + <div class="button" id="flip-controls-button">→</div> + <div class="button" data-modal="help-modal">?</div> + </div> <div id="info"> <div id="oi">oi!</div> <div id="p1-info"> @@ -65,20 +72,12 @@ </div> </div> </div> - <div id="settings-bar"> - <div>dartboat™</div> - <div class="input first"><span>delay</span><input id="delay" data-opt="delay" maxlength="4" value=""></div> - <div class="input"><span>stdev</span><input id="stdev" data-opt="stdev" maxlength="4" value=""></div> - <div class="button" id="flip-controls-button">→</div> - <div class="button" data-modal="help-modal">?</div> - </div> <div id="visits"></div> </div> <div id="help-modal" class="modal"> <div class="modal-content"> <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> - <p> <h2>Settings</h2> <p><em>stdev</em> — the standard deviation of the bot'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><em>delay</em> — milliseconds it takes the bot to throw each dart.</p> |