tie keyboard into game

This commit is contained in:
2022-01-28 00:30:13 +00:00
parent 356edb2024
commit 1b075f299d
3 changed files with 74 additions and 19 deletions

View File

@@ -7,7 +7,7 @@
<title>words by alv</title>
</head>
<body>
<h1>words by alv</h1>
<h1 style="text-align: center">words by alv</h1>
<div id="game_container">
</div>
@@ -42,7 +42,7 @@
<p class="kb_letter">l</p>
</div>
<div class="kb_row" id="kb_row3">
<p class="kb_letter"><i class="fas fa-sign-in-alt"></i></p>
<p class="kb_letter" id="kb_enter"><i class="fas fa-sign-in-alt"></i></p>
<p class="kb_letter">z</p>
<p class="kb_letter">x</p>
<p class="kb_letter">c</p>
@@ -50,12 +50,13 @@
<p class="kb_letter">b</p>
<p class="kb_letter">n</p>
<p class="kb_letter">m</p>
<p class="kb_letter"><i class="fas fa-backspace"></i></p>
<p class="kb_letter" id="kb_backspace"><i class="fas fa-backspace"></i></p>
</div>
</div>
<div id="footer">
<p>built with ❤ and adequate amounts of care by <a href="https://alv.cx">alv</a></p>
<p>thanks to Lancaster University for the wordlist and you can find it <a href="https://ucrel.lancs.ac.uk/bncfreq/flists.html">here</a></p>
<p>thanks to Lancaster University for the wordlist, which you can find <a href="https://ucrel.lancs.ac.uk/bncfreq/flists.html">here</a> </p>
</div>
<script type="application/javascript" src="wordlist.js"></script>
<script type="application/javascript" src="game.js"></script>