-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
139 lines (131 loc) · 4.77 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title>Boggle</title>
<link rel="stylesheet" type="text/css" href="css/normalize.css"/>
<link rel="stylesheet" type="text/css" href="css/boggle.css"/>
</head>
<body>
<div id="boggle">
<div class="imageContainer">
<img src="img/boggle.png"/>
</div>
<table id="board">
<tbody>
<tr class="die">
<td class="face" id="face0">
<span class="letter"></span>
</td>
<td class="face" id="face1">
<span class="letter"></span>
</td>
<td class="face" id="face2">
<span class="letter"></span>
</td>
<td class="face" id="face3">
<span class="letter"></span>
</td>
<td class="face" id="face4">
<span class="letter"></span>
</td>
</tr>
<tr class="die">
<td class="face" id="face5">
<span class="letter"></span>
</td>
<td class="face" id="face6">
<span class="letter"></span>
</td>
<td class="face" id="face7">
<span class="letter"></span>
</td>
<td class="face" id="face8">
<span class="letter"></span>
</td>
<td class="face" id="face9">
<span class="letter"></span>
</td>
</tr>
<tr class="die">
<td class="face" id="face10">
<span class="letter"></span>
</td>
<td class="face" id="face11">
<span class="letter"></span>
</td>
<td class="face" id="face12">
<span class="letter"></span>
</td>
<td class="face" id="face13">
<span class="letter"></span>
</td>
<td class="face" id="face14">
<span class="letter"></span>
</td>
</tr>
<tr class="die">
<td class="face" id="face15">
<span class="letter"></span>
</td>
<td class="face" id="face16">
<span class="letter"></span>
</td>
<td class="face" id="face17">
<span class="letter"></span>
</td>
<td class="face" id="face18">
<span class="letter"></span>
</td>
<td class="face" id="face19">
<span class="letter"></span>
</td>
</tr>
<tr class="die">
<td class="face" id="face20">
<span class="letter"></span>
</td>
<td class="face" id="face21">
<span class="letter"></span>
</td>
<td class="face" id="face22">
<span class="letter"></span>
</td>
<td class="face" id="face23">
<span class="letter"></span>
</td>
<td class="face" id="face24">
<span class="letter"></span>
</td>
</tr>
</tbody>
</table>
<div id="wordBuilderContainer">
<label>Current Word: </label>
<div id="currentWord"></div>
</div>
<input type="button" id="submitWord" value="Submit Word"/>
<table id="scoreTable">
<thead>
<tr>
<th>Word</th>
<th>Score</th>
</tr>
</thead>
<tbody></tbody>
<tfoot>
<tr>
<td>Total:</td>
<td id="totalScore">0</td>
</tr>
</tfoot>
</table>
</div><!-- Boggle -->
<script type="text/javascript" src="js/jQuery-2.2.0.min.js"></script>
<script type="text/javascript" src="js/selectRandomUniqueAndShuffle.js"></script>
<script type="text/javascript" src="js/boggle.js"></script>
<script type="text/javascript">
new Boggle();
</script>
</body>
</html>