-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
279 lines (276 loc) · 15.3 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
268
269
270
271
272
273
274
275
276
277
278
279
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" type="image/png" href="favicon.png">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://use.fontawesome.com">
<link rel="prefetch" href="https://fonts.googleapis.com/css?family=Montserrat:700,400%7CCinzel+Decorative%7CLibre+Barcode+39+Extended%7CQuicksand:700%7CRaleway:500" crossorigin="anonymous">
<link href="https://fonts.googleapis.com/css?family=Montserrat:700,400%7CCinzel+Decorative%7CLibre+Barcode+39+Extended%7CQuicksand:400,700%7CRaleway:500" rel="stylesheet">
<link rel="stylesheet" href="styles/main.css">
<link rel="stylesheet" href="styles/screen.css">
<link rel="import" href="./components/load.html">
<title>Super Hero Alter Ego</title>
</head>
<body>
<header>
<div class="breathe"></div>
<h1>The Super Hero Mind Map</h1>
</header>
<main>
<div class="breathe"></div>
<section class="deck-space">
<h3 class="instructions">Instructions</h3>
<div class="breathe"></div>
<div class="list-of-instructions">
<ul class="instructions-list">
<li class="instructions-list-item">You have to match a total of 12 superheroes to their respective alter egoes</li>
<li class="instructions-list-item">On each match , you are awarded a number of points based on :
<ol class="instructions-list-subitem">
<li class="subitem-list-item">The current rating you are playing on</li>
<li class="subitem-list-item">the number of moves ideal to find the current match</li>
</ol>
</li>
<li class="instructions-list-item">On a mismatch, no points are deducted</li>
<li class="instructions-list-item">If after a dynamically calculated number of moves, you have not found the next match, or a single match
<ol class="instructions-list-subitem">
<li class="subitem-list-item">The deck shuffles</li>
<li class="subitem-list-item">the rating dips</li>
</ol>
</li>
<li class="instructions-list-item">If the rating dips to 1 star
<ol class="instructions-list-subitem">
<li class="subitem-list-item">The game notifies you that you are low on rating.That would hit scoring percentages</li>
</ol>
</li>
<li class="instructions-list-item">You have 6 minutes to match all cards on deck failing which, the game resets
</li>
<li class="instructions-list-item">At any point, If you wish, you may just hit replay, and reset and restart</li>
<li class="instructions-list-item">An example end of play statistics is shown
<a href="stats.png" target="_blank" class="stats-pic-anchor">here</a>. You may use the stats column "Matches" , to familiarize yourself with the game's superheroes, and their alter-egoes
</li>
</ul>
</div>
<div class="breathe" id="top-of-deck"></div>
<div class="deck" id="deck">
<div class="cog">
<h1 class="cog-wheel">⚙</h1>
</div>
</div>
</section>
<section class="statistics">
<div class="breathe"></div>
<h2 class="stats-header">Game Stats</h2>
<div class="breathe"></div>
<article class="game-stats">
<div class="matches">
<h2 class="cards-found">
Matches</h2>
</div>
<div class="mismatches">
<h2 class="cards-not-found">
Unmatched</h2>
</div>
<div class="breathe"></div>
<div class="highs">
<div class="highest-score">
<h2 class="highest-score-header">Highest Scoring Match</h2>
</div>
<div class="highest-scoring-match">
<!-- to be filled dynamically during the game -->
</div>
</div>
<div class="breathe"></div>
<div class="scorecard">
<div class="scorecard-moves">
<h2 class="scorecard-moves-header">Moves</h2>
</div>
<div class="scorecard-number-of-moves">
<!-- to be filled dynamically during the game -->
</div>
<div class="scorecard-total-score">
<h2 class="scorecard-total-score-header">Total Score</h2>
</div>
<div class="scorecard-game-score">
<!-- to be filled dynamically during the game -->
</div>
<div class="scorecard-rating">
<h2 class="scorecard-rating-header">User Rating</h2>
</div>
<div class="scorecard-user-rating">
<div class="scorecard-user-rating-stars">
<!-- to be filled dynamically during the game -->
</div>
</div>
<div class="scorecard-clock">
<h2 class="scorecard-timer-header">Game over in</h2>
</div>
<div class="scorecard-stop-clock"></div>
</div>
</article>
</section>
</main>
<aside class="meta">
<div class="breathe"></div>
<h3>Game Panel</h3>
<section class="moves">
<h3 class="move-counter">On Move:</h3>
<div class="move">
<!-- to be filled dynamically during the game -->
</div>
</section>
<section class="clock">
<h3 class="timer">game time</h3>
<div class="stop-clock"></div>
</section>
<section class="ratings">
<h3 class="player-rating">Player Rating:</h3>
<div class="rating">
<span class="fa fa-star star"></span>
<span class="fa fa-star star"></span>
<span class="fa fa-star star"></span>
<!-- <span class="fa fa-star star"></span> <span class="fa fa-star star"></span> -->
</div>
</section>
<section class="points">
<h3 class="user-points">Score:</h3>
<div class="total-user-points">
<h2 class="total-user-score">
<!-- to be filled dynamically during the game -->
</h2>
</div>
</section>
<section class="replay">
<h3 class="replay-game">Replay Game:</h3>
<div class="restart">
<a class="reload" href="#top-of-deck">
<span class="fa fa-redo-alt fa-2x"></span>
</a>
</div>
</section>
<section class="attributes">
<div class="breathe"></div>
<div class="credit-header">
<h2>Superhero Mind Map Image Credits</h2>
</div>
<div class="breathe"></div>
<div class="sh-image">
<div class="sh-name-header">Image</div>
<div class="sh-name"><img class="credit-image" src="./assets/jpegs/superman.jpg" alt="superman"></div>
<div class="sh-name"><img class="credit-image" src="./assets/jpegs/greenlantern.jpg" alt="green lantern"></div>
<div class="sh-name"><img class="credit-image" src="./assets/jpegs/greenarrow.jpg" alt="green arrow"></div>
<div class="sh-name"><img class="credit-image" src="./assets/jpegs/aquaman.jpg" alt="aquaman"></div>
<div class="sh-name"><img class="credit-image" src="./assets/jpegs/wonderwoman.jpg" alt="wonder woman"></div>
<div class="sh-name"><img class="credit-image" src="./assets/jpegs/theatom.jpg" alt="the atom"></div>
<div class="sh-name"><img class="credit-image" src="./assets/jpegs/theflash.jpg" alt="the flash"></div>
<div class="sh-name"><img class="credit-image" src="./assets/jpegs/batman.jpg" alt="batman"></div>
<div class="sh-name"><img class="credit-image" src="./assets/jpegs/blackcanary.jpg" alt="black canary"></div>
<div class="sh-name"><img class="credit-image" src="./assets/jpegs/cyborg.jpg" alt="cyborg"></div>
<div class="sh-name"><img class="credit-image" src="./assets/jpegs/martianmanhunter.jpg" alt="jonn jonzz"></div>
</div>
<div class="sh-image-page">
<div class="sh-image-link-header">Link</div>
<div class="sh-image-link">
<a
class="credit-section-anchor"
href="https://www.flickr.com/photos/dangergraphics/32627957/in/photolist-3Te9Z-5i3yQD-4Aare3-mhFKTT-6faPdE-8nJziL-eC6tRs-9ayDvo-eC6ChA-q7a1oT-hpE97-aspdYS-6aaWZN-5bimfG-rmfQw-8dLo18-fyhRL-7KHY1K-3STKM-3STKL-EdhaX-a1jozb-a1jnUN-3sSxs-7V7VrW-fJAUi5-3dDZr7-bBbMpN-55GVaA-5aKEg7-yrbfh-4ZdNLk-6Dsn48-7GABrg-7hdEFG-ek1Lm-8qMNYB-a1gvV6-5UkFnA-C94VsS-fVwSB-5iaQsz-7WHiu-do1QTj-qfrD3P-7cu8fF-7uLV1S-5K5Biv-aaioyJ-4Coga3"
target="_blank">See Picture</a>
</div>
<div class="sh-image-link">
<a
class="credit-section-anchor"
href="https://www.flickr.com/photos/jdhancock/12168726945/in/photolist-jxiUyZ-77W1XX-4zAMoP-6KxaMs-6bDg5N-dZuXke-btm6cW-eBEHr5-9B9KSG-98oVQn-8tWvRm-bXnDzH-ejsFEY-dkQnGi-98cDCZ-9B9KRw-ctj8R1-oThtCS-oTgD6k-QmWFwg-96Bkfr-9vabDn-d852Eu-nhi9R8-eH6Y2q-cuDQVJ-23oBLii-cADL9y-cADkR1-cigQb7-9vMJGQ-8sFRXm-bnYVUx-6Fbr5f-cuDNHf-cuEziq-kjzSpV-64qbTH-cuDRE5-m89xHL-bWeAHz-cuDNSy-5XExn1-dUnmmx-bWexje-os8ffM-m88A9i-ct87Au-piummM-pjgv7W"
target="_blank">See Picture</a>
</div>
<div class="sh-image-link">
<a
class="credit-section-anchor"
href="https://www.flickr.com/photos/chiffheed/6304310320/in/photolist-aB6ePw-nbw6qy-ozC5v3-dcgFXR-ok8VgT-dV1xMX-dmnRYk-c1wnMo-jEueCh-e4JE1H-8J99Jn-pki9eb-4HJrqW-8nBBAk-pm6ke-bJQsr-7yrjVt-EL9Tv3-4uis2N-e8aAo4-fKEBuz-CuY8x-aLcaig-fdJwnW-4BwBee-5ZKSpN-nqZoZM-qxMgZH-9JnJZX-2TAa8J-6V4UZG-5b7EUv-nztumE-bygiqN-nQYE1Q-6JjMs2-67hRHt-aCXaaY-4CpjHY-NekU-ebq1FL-9d4M1M-8EqfxB-sngnXV-fxyNsT-77y46U-bmBevk-cV582-9A88zS-9sgWLi"
target="_blank">See Picture</a>
</div>
<div class="sh-image-link">
<a
class="credit-section-anchor"
href="https://www.flickr.com/photos/61287964@N00/6625305937/in/photolist-b6sqCH-7Xs4gm-7AQ1Py-6rDU9X-gUBmJ6-nJq3SR-XHm7gc-efkCTr-WTrQHQ-jt8f2-96b1B7-pfxHZE-4JYtiJ-c3zWNA-jt8Cj-8HyR6H-56UgM7-jt8SS-jt96A-sKiQP-r9btD9-jt8pE-56Q9cZ-sKj4R-685vq-ZDdnjU-6ozD81-7D3K2a-qDwXLA-4yZDex-UQi8op-z8RVda-VWd2AX-7J3BeX-dM8niv-X8VQ4i-RkknmJ-Qqcivp-p111Fe-WXojZZ-WyzJpE-X4Egue-7Kvtp4-cobeSA-6biH9r-9D5pBi-ZcvYna-rpPPXU-4EYX3-WVWkXF"
target="_blank">See Picture</a>
</div>
<div class="sh-image-link">
<a
class="credit-section-anchor"
href="https://www.flickr.com/photos/illuminatedarkness/8269509881/in/photolist-dAKpbz-cD9sRf-oM3Fu1-wahZBU-eCFJ9Q-fhoqTF-YzwJFm-cGEmgL-8m9Wpy-eFiPR3-cGyVwC-bEsZ1g-YCnc6o-fbBqJx-nrfYEV-PzyFH-qDwXLA-7bWA4T-cwWTU1-X75arg-5j6MH5-qfDcmC-7NNNuQ-e93RbS-bFfbQc-ffCEXu-bEGTA6-nbccCy-np4Cqi-4dYwyZ-VtQ6zk-bskhQo-brMXhb-ABfpx-p1Y4Vj-VtQ626-WhMfQV-e3vDYZ-dtJpGE-nfa5Xg-Uykb2n-tZAVW-9vwrZz-cx9ZWU-doypM8-fenYSg-RtHBod-fecpUF-ptC3MF-879SgE"
target="_blank">See Picture</a>
</div>
<div class="sh-image-link">
<a class="credit-section-anchor" href="https://www.flickr.com/photos/bagogames/16180552154" target="_blank">See Picture</a>
</div>
<div class="sh-image-link">
<a class="credit-section-anchor" href="https://www.flickr.com/photos/jdhancock/4303131832" target="_blank">See Picture</a>
</div>
<div class="sh-image-link">
<a
class="credit-section-anchor"
href="https://www.flickr.com/photos/xavierwilkinson/6550852201/in/photolist-aYSQ8B-aHWQwP-8KCUK4-qdry4k-d7tsx5-vFo21c-fcdmDg-6sH2oW-ghVrzt-7aDSmN-2SUa1-efWfiz-fmsSru-dHVv7Z-2CuRNJ-4tKrPn-71f7rc-7ZuyhB-cB6GPU-4TwDbQ-oA4YDU-jShUS-RPGaXU-nDYhn6-4p3qhG-dThgwp-o8uqQb-7XHqse-Uqc2kA-atHsiV-d3iazW-4XbfQg-V67WFn-6G8Cf8-cAJSJ-9vmPQc-jShSS-c4n77Y-cJLndC-2LZxZ-587hA7-cez3o-fcdnWR-68nkvF-8kJfzH-dZpyd8-7ZKhzy-7ooHRB-c4naa9-681HM"
target="_blank">See Picture</a>
</div>
<div class="sh-image-link">
<a class="credit-section-anchor" href="https://www.flickr.com/photos/nostri-imago/2957453072" target="_blank">See Picture</a>
</div>
<div class="sh-image-link">
<a class="credit-section-anchor" href="https://www.flickr.com/photos/jdhancock/7053220779" target="_blank">See Picture</a>
</div>
<div class="sh-image-link">
<a class="credit-section-anchor" href="https://www.flickr.com/photos/monky/3923521474/" target="_blank">See Picture</a>
</div>
</div>
<div class="sh-image-creator">
<div class="sh-image-creator-bio-header">Creator</div>
<div class="sh-image-creator-bio">
<a class="credit-section-anchor" href="https://www.flickr.com/photos/dangergraphics/" target="_blank">Author</a>
</div>
<div class="sh-image-creator-bio">
<a class="credit-section-anchor" href="https://www.flickr.com/photos/jdhancock/" target="_blank">Author</a>
</div>
<div class="sh-image-creator-bio">
<a class="credit-section-anchor" href="https://www.flickr.com/photos/chiffheed/" target="_blank">Author</a>
</div>
<div class="sh-image-creator-bio">
<a class="credit-section-anchor" href="https://www.flickr.com/photos/61287964@N00/" target="_blank">Author</a>
</div>
<div class="sh-image-creator-bio">
<a class="credit-section-anchor" href="https://www.flickr.com/photos/illuminatedarkness/" target="_blank">Author</a>
</div>
<div class="sh-image-creator-bio">
<a class="credit-section-anchor" href="https://www.flickr.com/photos/bagogames/" target="_blank">Author</a>
</div>
<div class="sh-image-creator-bio">
<a class="credit-section-anchor" href="https://www.flickr.com/photos/jdhancock/" target="_blank">Author</a>
</div>
<div class="sh-image-creator-bio">
<a class="credit-section-anchor" href="https://www.flickr.com/photos/xavierwilkinson/" target="_blank">Author</a>
</div>
<div class="sh-image-creator-bio">
<a class="credit-section-anchor" href="https://www.flickr.com/photos/nostri-imago/" target="_blank">Author</a>
</div>
<div class="sh-image-creator-bio">
<a class="credit-section-anchor" href="https://www.flickr.com/photos/jdhancock/" target="_blank">Author</a>
</div>
<div class="sh-image-creator-bio">
<a class="credit-section-anchor" href="https://www.flickr.com/photos/monky/" target="_blank">Author</a>
</div>
</div>
<div class="breathe"></div>
</section>
</aside>
<footer>
<script async="async" src="./bower_components/webcomponentsjs/webcomponents-lite.js"></script>
<script defer="defer" src="./bower_components/jquery/dist/jquery.min.js"></script>
<script defer="defer" src="./scripts/jquery-ui.min.js"></script>
<script async="async" src="//use.fontawesome.com/releases/v5.0.1/js/all.js"></script>
<script src="./scripts/game.js"></script>
<script src="./scripts/config.js"></script>
<script src="./scripts/ready.js"></script>
<div class="notify-modals"></div>
</footer>
</body>
</html>