diff options
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> |