-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
59 lines (53 loc) · 1.54 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Perquackey</title>
<link rel="stylesheet" href="./css/screen.css" media="screen" />
<script type="module" src="./js/table_view.js"></script>
<script type="module" src="./js/app.js"></script>
</head>
<body>
<header>
<form>
<input name="letters" autocomplete="off" autocorrect="off" autofocus="on" maxlength="13"
placeholder="🎲 What did you roll?" spellcheck="false" />
</form>
</header>
<section id="words">
<table>
<thead>
<tr></tr>
</thead>
<tbody>
<tr></tr>
</tbody>
</table>
</section>
<!-- TODO: If I make this a self-closing tag, in Safari it gobbles up the footer. -->
<table-view id="tableView">
</table-view>
<footer>
<p>
Type the letters you rolled to see what you could have spelled.
</p>
<p>
Examples:
<a href="?q=eehhhijjoopqt">eehhhijjoopqt</a>,
<a href="?q=aaddeginoprsw">aaddeginoprsw</a>
</p>
<p>
These words are taken from
<a href="http://en.wikipedia.org/wiki/Tournament_Word_List">TWL06, the official word list</a>
for Scrabble tournaments in North America. (You can
<a href="http://www.isc.ro/en/commands/lists.html">download this list</a>
from the Internet Scrabble Club.)
</p>
<p>
<a href="https://github.com/matthewtodd/perquackey">This code is on GitHub</a>.
Patches welcome!
</p>
</footer>
</body>
</html>