-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
277 lines (245 loc) · 11.5 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Memorify</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/open-iconic-bootstrap.min.css">
<link rel="stylesheet" href="css/animate.css">
<link rel="stylesheet" href="css/owl.carousel.min.css">
<link rel="stylesheet" href="css/owl.theme.default.min.css">
<link rel="stylesheet" href="css/magnific-popup.css">
<link rel="stylesheet" href="css/aos.css">
<link rel="stylesheet" href="css/ionicons.min.css">
<link rel="stylesheet" href="css/flaticon.css">
<link rel="stylesheet" href="css/icomoon.css">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/game.css">
<link rel="stylesheet" href="css/icon.css">
</head>
<body>
<div class="bg-top navbar-light d-flex flex-column-reverse">
<div class="container py-3">
<div class="row no-gutters d-flex align-items-center align-items-stretch">
<div class="col-md-4 d-flex align-items-center py-4">
<a class="navbar-brand" href="#">Memorify <span>Memory Game</span></a>
</div>
</div>
</div>
</div>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark ftco-navbar-light" id="ftco-navbar">
<div class="container d-flex align-items-center">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#ftco-nav" aria-controls="ftco-nav" aria-expanded="false" aria-label="Toggle navigation">
<span class="oi oi-menu"></span> Menu
</button>
<div class="collapse navbar-collapse" id="ftco-nav">
<ul class="navbar-nav mr-auto">
<li class="nav-item active"><a href="#" class="nav-link">Play</a></li>
</ul>
</div>
</div>
</nav>
<!-- END nav -->
<section class="home-slider owl-carousel">
<div class="slider-item" style="background-image:linear-gradient(#00a56e, #001d12);">
<div class="overlay"></div>
<div class="container">
<div class="row no-gutters slider-text align-items-center justify-content-end" data-scrollax-parent="true">
<div class="col-md-7 ftco-animate mb-md-5">
<span class="subheading">Memorify</span>
<h1 class="mb-4">Play anywhere, anytime!</h1>
<p><a href="#playNow" class="btn btn-primary px-4 py-3 mt-3">Play now</a></p>
</div>
</div>
</div>
</div>
<div class="slider-item" style="background-image:linear-gradient(#00a56e, #001d12);">
<div class="overlay"></div>
<div class="container">
<div class="row no-gutters slider-text align-items-center justify-content-end" data-scrollax-parent="true">
<div class="col-md-7 ftco-animate mb-md-5">Memorify</span>
<h1 class="mb-4">Play with upto 4 friends!</h1>
<p><a href="#playNow" class="btn btn-primary px-4 py-3 mt-3">Play now</a></p>
</div>
</div>
</div>
</div>
</section>
<section class="ftco-intro ftco-no-pb img">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-10 text-center heading-section heading-section-white ftco-animate">
<h2 class="mb-0">The Game Awaits You!</h2>
</div>
</div>
</div>
</section>
<section class="ftco-section ftco-no-pt" id="playNow">
<div class="container">
<div class="row justify-content-center mb-5">
<div class="col-md-8 text-center heading-section ftco-animate">
<!--<span class="subheading">Play</span>-->
<br><br><h2 class="mb-4">Play</h2>
<p>Try to guess every pair of similar cards. Remember what each card is. The person who has finished finding all the cards in the least time wins the round. Person who gets it in the least time wins the round.</p>
</div>
</div>
<div class="row tabulation mt-4 ftco-animate">
<div class="col-md-4">
<ul class="nav nav-pills nav-fill d-md-flex d-block flex-column">
<li class="nav-item text-left">
<a class="nav-link active py-4" data-toggle="tab" href="#services-1">2 Player</a>
</li>
</ul>
</div>
<div class="col-md-8">
<div class="tab-content">
<div class="tab-pane container p-0 active" id="services-1">
<div class="img">
<div class="grid">
<img src="images/blank.png" width="100px" height="100px">
<img src="images/blank.png" width="100px" height="100px">
<img src="images/blank.png" width="100px" height="100px">
<img src="images/blank.png" width="100px" height="100px">
<img src="images/blank.png" width="100px" height="100px">
<img src="images/blank.png" width="100px" height="100px">
<img src="images/blank.png" width="100px" height="100px">
<img src="images/blank.png" width="100px" height="100px">
<img src="images/blank.png" width="100px" height="100px">
<img src="images/blank.png" width="100px" height="100px">
<img src="images/blank.png" width="100px" height="100px">
<img src="images/blank.png" width="100px" height="100px">
</div>
</div>
<h3>Turn of <span id="turn"></span></h3>
<h3>Time left: <span id="time"></span></h3>
</div>
<!--<div class="tab-pane container p-0 fade" id="services-2">
<div class="img" style="background-image: url(images/project-3.jpg);"></div>
<h3><a href="#"></a></h3>
<p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.</p>
</div>-->
</div>
</div>
</div>
</div>
</section>
<section class="ftco-section ftco-about ftco-no-pt ftco-no-pb ftco-counter" id="section-counter">
<div class="container consult-wrap">
<div class="row d-flex align-items-stretch">
<!--<div class="col-md-6 wrap-about align-items-stretch d-flex">
<div class="img" style="background-image: linear-gradient(#00a56e, #001d12);">
<div class="container">
<div class="row no-gutters slider-text align-items-center justify-content-end" data-scrollax-parent="true">
<div class="col-md-7 ftco-animate mb-md-5">
<h1 class="mb-4" style="color: aliceblue; margin-top: 70%; margin-right: 400px;">ScoreBoard</h1>
</div>
</div>
</div>
</div>
</div>-->
<div class="col-md-6 wrap-about ftco-animate py-md-5 pl-md-5" style="margin-left: 25%;">
<div class="heading-section mb-4">
<span class="subheading">ScoreBoard</span>
<h2>Check Your Scores Here</h2>
</div>
<!--<p>Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts.</p>-->
<!--<div class="tabulation-2 mt-4">
<ul class="nav nav-pills nav-fill d-md-flex d-block">
<li class="nav-item">
<a class="nav-link active py-2" data-toggle="tab" href="#home1">Round 1</a>
</li>
<li class="nav-item px-lg-2">
<a class="nav-link py-2" data-toggle="tab" href="#home2">Round 2</a>
</li>
<li class="nav-item">
<a class="nav-link py-2" data-toggle="tab" href="#home3">Round 3</a>
</li>
</ul>
</div>-->
<div class="row mt-5">
<div class="col-md d-flex justify-content-center counter-wrap ftco-animate">
<div class="block-18">
<div class="icon"><span class="flaticon-doctor"></span></div>
<div class="text">
<strong class="number" id="player1">0</strong>
<span>Player 1</span>
</div>
</div>
</div>
<div class="col-md d-flex justify-content-center counter-wrap ftco-animate">
<div class="block-18">
<div class="icon"><span class="flaticon-doctor"></span></div>
<div class="text">
<strong class="number" id="player2">0</strong>
<span>Player 2</span>
<br><br><button onclick="clearStorage()" class="btn btn-primary px-4 py-3 mt-3">Clear Scores</button>
</div>
</div>
</div>
<div class="col-md d-flex justify-content-center counter-wrap ftco-animate">
<div class="block-18">
<div class="icon"><span class="flaticon-doctor"></span></div>
<div class="text">
<strong class="number" id="winner">0</strong>
<span>Player Leading </span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<hr>
<footer class="ftco-footer ftco-bg-dark ftco-section">
<div class="container">
<div class="row mb-5">
<div class="col-md-6 col-lg-3">
<div class="ftco-footer-widget mb-5">
<h2 class="ftco-heading-2">Memorify</h2>
<div class="block-23 mb-3">
<ul>
<li><span class="text">Made by Kaushal</span></li>
</ul>
</div>
<ul class="ftco-footer-social list-unstyled float-md-left float-lft mt-3">
<li class="ftco-animate"><a href="https://github.com/k4u5h4L/"><span class="lnk github social-icon place"></span></a> <strong style="margin-left: 10px;"> Kaushal</strong></li>
</ul>
</div>
</div>
</div>
<div class="row">
<div class="col-md-12 text-center">
<p><!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. -->
Copyright ©<script>document.write(new Date().getFullYear());</script> All rights reserved | This template is made with <i class="icon-heart" aria-hidden="true"></i> by <a href="https://colorlib.com" target="_blank">Colorlib</a>
<!-- Link back to Colorlib can't be removed. Template is licensed under CC BY 3.0. --></p>
</div>
</div>
</div>
</footer>
<!-- loader -->
<div id="ftco-loader" class="show fullscreen"><svg class="circular" width="48px" height="48px"><circle class="path-bg" cx="24" cy="24" r="22" fill="none" stroke-width="4" stroke="#eeeeee"/><circle class="path" cx="24" cy="24" r="22" fill="none" stroke-width="4" stroke-miterlimit="10" stroke="#F96D00"/></svg></div>
<script src="js/timer.js"></script>
<script defer src="js/game.js"></script>
<script src="js/jquery.min.js"></script>
<script src="js/jquery-migrate-3.0.1.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.easing.1.3.js"></script>
<script src="js/jquery.waypoints.min.js"></script>
<script src="js/jquery.stellar.min.js"></script>
<script src="js/owl.carousel.min.js"></script>
<script src="js/jquery.magnific-popup.min.js"></script>
<script src="js/aos.js"></script>
<script src="js/jquery.animateNumber.min.js"></script>
<script src="js/scrollax.min.js"></script>
<script src="js/main.js"></script>
<script>
function clearStorage() {
localStorage.clear();
location.reload();
}
</script>
</body>
</html>