-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
167 lines (161 loc) · 8.16 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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
<!DOCTYPE html>
<html>
<head>
<!-- Compiled and minified CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/css/materialize.min.css">
<link rel="stylesheet" href="main.css">
</head>
<body class="fullHeight">
<div class="row fullHeight">
<div class="col s3 grey lighten-4 fullHeight" id="left">
<h2>Bossggle</h2>
<div class="row noMargin">
<div class="col s9 noPadding">
<span class="grey-text lighten-text-2">Score</span>
</div>
<div class="col s3 noPadding right-align">
<h5 class="orange-text darken-text-2 noMargin" id="score">0</h5>
</div>
</div>
<div class="divider"></div>
<div class="row noMargin">
<div class="col s9 noPadding">
<span class="grey-text lighten-text-2">Words</span>
</div>
<div class="col s3 noPadding right-align">
</div>
</div>
<div class="row"></div>
<div id="wordList">
<div class="row noMargin hide wordAndScoreRow">
<div class="col s9 noPadding">
<h6 class="word"></h6>
</div>
<div class="col s3 noPadding right-align">
<label class="white-text orange labelPadding wordScore"></label>
</div>
</div>
</div>
<div id="codeLink"><a target="_blank" href="https://github.com/eastnorthwest/convoluted-butterfly"> See the
code</a></div>
</div>
<div class="col s9 fullHeight" id="right">
<div id="rightColumnStart" class="valign-wrapper fullHeight">
<div class="row">
<div class="col s12 center-align">
<h5 class="purple-text labelPadding">Make words by clicking the letters. Only dictionary words count!
</h5>
<button id="startButton" class="btn white-text green">START!</button>
</div>
</div>
</div>
<div id="rightColumnTimeUp" class="valign-wrapper fullHeight hide">
<div class="row">
<div class="col s12 center-align">
<h4 class="blue-text">Time's up!</h4>
<h5 class="blue-text">Your score is <span id="scoreResult"></span></h5>
<button id="reStartButton" class="btn white-text green">PLAY AGAIN!</button>
</div>
</div>
</div>
<div id="rightColumnGame" class="hide">
<div class="row col s12"></div>
<div class="row playRowHeight">
<div class="col s2"><h4 id="timerTime"></h4></div>
<div class="col s8 center-align"><h2 id="playWord"></h2></div>
<div class="col s2">
<h4></h4><button class="btn black" id="reset">Shuffle</button></h4>
</div>
</div>
<div class="row">
<div class="col s2"></div>
<div class="col s8 center-align">
<div>
<div class="row centeringSquares">
<div class="col square yellow valign-wrapper letterHolder mouseOver">
<div class="center-block letter innerLetterHolder"></div>
</div>
<div class="col square yellow valign-wrapper letterHolder mouseOver">
<div class="center-block letter innerLetterHolder"></div>
</div>
<div class="col square yellow valign-wrapper letterHolder mouseOver">
<div class="center-block letter innerLetterHolder"></div>
</div>
<div class="col square yellow valign-wrapper letterHolder mouseOver">
<div class="center-block letter innerLetterHolder"></div>
</div>
</div>
<div class="row centeringSquares">
<div class="col square yellow valign-wrapper letterHolder mouseOver">
<div class="center-block letter innerLetterHolder"></div>
</div>
<div class="col square yellow valign-wrapper letterHolder mouseOver">
<div class="center-block letter innerLetterHolder"></div>
</div>
<div class="col square yellow valign-wrapper letterHolder mouseOver">
<div class="center-block letter innerLetterHolder"></div>
</div>
<div class="col square yellow valign-wrapper letterHolder mouseOver">
<div class="center-block letter innerLetterHolder"></div>
</div>
</div>
<div class="row centeringSquares">
<div class="col square yellow valign-wrapper letterHolder mouseOver">
<div class="center-block letter innerLetterHolder"></div>
</div>
<div class="col square yellow valign-wrapper letterHolder mouseOver">
<div class="center-block letter innerLetterHolder"></div>
</div>
<div class="col square yellow valign-wrapper letterHolder mouseOver">
<div class="center-block letter innerLetterHolder"></div>
</div>
<div class="col square yellow valign-wrapper letterHolder mouseOver">
<div class="center-block letter innerLetterHolder"></div>
</div>
</div>
<div class="row centeringSquares">
<div class="col square yellow valign-wrapper letterHolder mouseOver">
<div class="center-block letter innerLetterHolder"></div>
</div>
<div class="col square yellow valign-wrapper letterHolder mouseOver">
<div class="center-block letter innerLetterHolder"></div>
</div>
<div class="col square yellow valign-wrapper letterHolder mouseOver">
<div class="center-block letter innerLetterHolder"></div>
</div>
<div class="col square yellow valign-wrapper letterHolder mouseOver">
<div class="center-block letter innerLetterHolder"></div>
</div>
</div>
</div>
</div>
<div class="col s2"></div>
</div>
<div class="row">
<div class="col s2"></div>
<div class="col s8 right-align">
<button class="btn light-green controls" id="submit">Submit</button>
<br/>
<br />
<button class="btn red controls" id="clear">Clear Word</button>
</div>
<div class="col s2"></div>
</div>
</div>
</div>
</div>
<!-- JavaScript -->
<script
src="https://code.jquery.com/jquery-2.2.4.min.js"
integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44="
crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.98.2/js/materialize.min.js"></script>
<script src="https://cdn.rawgit.com/tannerwelsh/dcd33611c1bc615fd5a1c8cadc05d1b2/raw/470cde9d72927fef717f354b3ba3718a0aaabb99/basicWords.js"
charset="utf-8"></script>
<script src="functions.js"></script>
<script src="bossggle.js"></script>
<script src="lib/wordList.min.js"></script>
<script src="lib/wordBank.min.js"></script>
<script src="lib/moment.js"></script>
</body>
</html>