summaryrefslogtreecommitdiff
path: root/web/static/index.html
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-04-28 13:13:14 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2022-04-28 13:13:14 -0700
commitfcc02efbff337c05bf448231cd8bfbe016939f8a (patch)
tree4114353a7337f830827a3bfcf1552a50367ed0c2 /web/static/index.html
parent23fb49962b01b71f258bcd7933760aa609c453fb (diff)
downloaddartboat-fcc02efbff337c05bf448231cd8bfbe016939f8a.tar.gz
dartboat-fcc02efbff337c05bf448231cd8bfbe016939f8a.tar.xz
web: the bot should have his own dartboard
Diffstat (limited to 'web/static/index.html')
-rw-r--r--web/static/index.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/web/static/index.html b/web/static/index.html
index 2bc1275..a9c5aea 100644
--- a/web/static/index.html
+++ b/web/static/index.html
@@ -6,6 +6,7 @@
<meta name="viewport" content="width=device-width, user-scalable=no">
<link rel="stylesheet" type="text/css" href="style.css">
<script src="dartboat.js"></script>
+ <script src="dartboard.js"></script>
<script src="dartboat_wasm.js"></script>
</head>
<body>
@@ -56,6 +57,14 @@
<div data-command="append:2;submit" class="key"><span class="keyboard-val">[2]</span> One-player scoreboard</div>
<div data-command="append:3;submit" class="key"><span class="keyboard-val">[3]</span> Two-player scoreboard</div>
</div>
+ <div id="keypad-dartboard" class="keypad" style="display: none">
+ <div id="dartboard-container">
+ <svg viewBox="0 0 451 451">
+ <g id="dartboard"></g>
+ <g id="dartboard-points"></g>
+ </svg>
+ </div>
+ </div>
</div>
<div id="settings-bar">
<div>dartboat™</div>