show in the UI if a player is disconnected

This commit is contained in:
ducklet 2021-01-31 00:56:30 +01:00
parent e41172ca57
commit f406627042
3 changed files with 29 additions and 9 deletions

View file

@ -15,7 +15,7 @@
placeholder="Please put your name here ..."
/></label>
<h2>All Players</h2>
<ul>
<ul class="players">
<!-- players will be inserted here -->
</ul>
</div>
@ -27,7 +27,7 @@
</body>
<template id="player">
<li data-cid="client ID">player name</li>
<li class="player" data-cid="client ID">player name</li>
</template>
<script type="module" src="./buzzer.js"></script>