-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
267 lines (253 loc) · 9.23 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
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="css/styles.css" media="screen" title="no title" charset="utf-8">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script>
<title></title>
</head>
<body>
<h1 class="metal">Bach Star</h1>
</audio>
<div id="star-meter">
<div id="star-meter-hp">
</div>
</div>
<!-- start keyboard -->
<div class="keyboard">
<section class="white-key-container left">
<div class="white-key B1">
<figure class="front"></figure>
<figure class="back"></figure>
<figure class="right"></figure>
<figure class="left"></figure>
<figure class="top"></figure>
<figure class="bottom"></figure>
</div>
</section>
<section class="white-key-container right">
<div class="white-key D2">
<figure class="front"></figure>
<figure class="back"></figure>
<figure class="right"></figure>
<figure class="left"></figure>
<figure class="top"></figure>
<figure class="bottom"></figure>
</div>
</section>
<section class="white-key-container left">
<div class="white-key C1">
<figure class="front"></figure>
<figure class="back"></figure>
<figure class="right"></figure>
<figure class="left"></figure>
<figure class="top"></figure>
<figure class="bottom"></figure>
</div>
</section>
<section class="white-key-container right">
<div class="white-key C2">
<figure class="front"></figure>
<figure class="back"></figure>
<figure class="right"></figure>
<figure class="left"></figure>
<figure class="top"></figure>
<figure class="bottom"></figure>
</div>
</section>
<section class="white-key-container left">
<div class="white-key D1">
<figure class="front"></figure>
<figure class="back"></figure>
<figure class="right"></figure>
<figure class="left"></figure>
<figure class="top"></figure>
<figure class="bottom"></figure>
</div>
</section>
<section class="white-key-container right">
<div class="white-key B2">
<figure class="front"></figure>
<figure class="back"></figure>
<figure class="right"></figure>
<figure class="left"></figure>
<figure class="top"></figure>
<figure class="bottom"></figure>
</div>
</section>
<section class="white-key-container left">
<div class="white-key E1">
<figure class="front"></figure>
<figure class="back"></figure>
<figure class="right"></figure>
<figure class="left"></figure>
<figure class="top"></figure>
<figure class="bottom"></figure>
</div>
</section>
<section class="white-key-container right">
<div class="white-key A1 left">
<figure class="front"></figure>
<figure class="back"></figure>
<figure class="right"></figure>
<figure class="left"></figure>
<figure class="top"></figure>
<figure class="bottom"></figure>
</div>
</section>
<section class="white-key-container left">
<div class="white-key F1">
<figure class="front"></figure>
<figure class="back"></figure>
<figure class="right"></figure>
<figure class="left"></figure>
<figure class="top"></figure>
<figure class="bottom"></figure>
</div>
</section>
<section class="white-key-container right">
<div class="white-key G1 left">
<figure class="front"></figure>
<figure class="back"></figure>
<figure class="right"></figure>
<figure class="left"></figure>
<figure class="top"></figure>
<figure class="bottom"></figure>
</div>
</section>
<!-- END WHITE KEYS -->
<!-- Start black keys -->
<section class="black-key-container">
<div class="black-key g-sharp">
<figure class="front"></figure>
<figure class="back"></figure>
<figure class="right"></figure>
<figure class="left"></figure>
<figure class="top"></figure>
<figure class="bottom"></figure>
</div>
</section>
<section class="black-key-container">
<div class="black-key a-sharp">
<figure class="front"></figure>
<figure class="back"></figure>
<figure class="right"></figure>
<figure class="left"></figure>
<figure class="top"></figure>
<figure class="bottom"></figure>
</div>
</section>
<section class="black-key-container">
<div class="black-key c-sharp">
<figure class="front"></figure>
<figure class="back"></figure>
<figure class="right"></figure>
<figure class="left"></figure>
<figure class="top"></figure>
<figure class="bottom"></figure>
</div>
</section>
<section class="black-key-container">
<div class="black-key d-sharp">
<figure class="front"></figure>
<figure class="back"></figure>
<figure class="right"></figure>
<figure class="left"></figure>
<figure class="top"></figure>
<figure class="bottom"></figure>
</div>
</section>
<section class="black-key-container">
<div class="black-key f-sharp2">
<figure class="front"></figure>
<figure class="back"></figure>
<figure class="right"></figure>
<figure class="left"></figure>
<figure class="top"></figure>
<figure class="bottom"></figure>
</div>
</section>
<!-- <section class="black-key-container">
<div class="black-key g-sharp2">
<figure class="front"></figure>
<figure class="back"></figure>
<figure class="right"></figure>
<figure class="left"></figure>
<figure class="top"></figure>
<figure class="bottom"></figure>
</div>
</section> -->
<section class="black-key-container">
<div class="black-key a-sharp2">
<figure class="front"></figure>
<figure class="back"></figure>
<figure class="right"></figure>
<figure class="left"></figure>
<figure class="top"></figure>
<figure class="bottom"></figure>
</div>
</section>
<!-- end black keys -->
<div class="note-overlay">
<div class="finish-zone">
<div class="finish-line"></div>
</div>
<div class="filament B1"></div>
<div class="filament C1"></div>
<div class="filament D1"></div>
<div class="filament E1"></div>
<div class="filament F1"></div>
<div class="filament G1"></div>
<div class="filament A1"></div>
<div class="filament B2"></div>
<div class="filament C2"></div>
<div class="filament D2"></div>
</div>
<div id="note-container">
</div>
</div>
<!-- end keyboard -->
<footer>
<small>Copyright (c) 2016 Sam Greenlee All Rights Reserved.</small>
<nav>
<a href="http://www.samgreenlee.io">samgreenlee.io</a>
<a href="http://www.github.com/sgreenlee">github</a>
<a href="http://www.linkedin.com/in/samgreenlee">linkedIn</a>
</nav>
</footer>
<div id="modal-overlay" class="lose modal-group"></div>
<!-- YOU LOSE MODAL -->
<div class="modal lose modal-group">
<h2 class="metal">Sorry, you are <em>not</em> a Bach star</h2>
<p>Don't quit your day job</p>
<button type="button" class="new-game" name="button">Try Again</button>
</div>
<!-- END YOU LOSE MODAL -->
<!-- YOU WIN MODAL -->
<div class="modal win modal-group">
<h2 class="metal">Congratulations, you are a Bach star!</h2>
<p>Well done.</p>
<button type="button" class="new-game" name="button">Play Again</button>
</div>
<!-- END YOU WIN MODAL -->
<!-- LOAD MODAL -->
<div class="modal load modal-group">
<h2 class="metal">Are you a Bach star?</h2>
<p>Hit the keys right when they cross the red line, and don't miss too many or you'll be booed off stage.</p>
<button type="button" class="new-game" name="button">Play Now</button>
</div>
<!-- END LOAD MODAL -->
<!-- SONG SELECTION MODAL -->
<div class="modal select modal-group">
<h2 class="metal">Choose a song</h2>
<button type="button" class="song-select" data-song="bach_minuet_g_major" name="button">BWV Anh. 114 Minuet in G Major</button>
<button type="button" class="song-select" data-song="bach_invention4_d_minor" name="button">BWV 775 Invention no. 4 in D Minor</button>
<button type="button" class="song-select" data-song="bach_goldberg_aria" name="button">BWV 998 Goldberg Variations Aria</button>
</div>
<!-- END SONG SELECTION MODAL -->
<div id="loading-screen">
<h1>loading</h1>
</div>
<script src="js/bundle.js" charset="utf-8"></script>
</body>
</html>