-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgames.html
374 lines (347 loc) · 15.8 KB
/
games.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
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<title>Games</title>
<link rel="icon" href="images/mylogo.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
<link rel="stylesheet" href="assets/css/main.css" />
<noscript><link rel="stylesheet" href="assets/css/noscript.css" /></noscript>
<script type="text/javascript">
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "iavxws4fvy");
</script>
<style>
/************ Square *************/
.square {
transition: 1s;
height: 65px;
width: 70px;
border: 5px solid #000;
letter-spacing: normal;
line-height: normal;
/* Color & Background */
color: rgb(0, 0, 0);
/* Box */
height: 50px;
width: 50px;
/* Positioning */
position: relative;
/* Effects */
transform: matrix(6.12323e-17, -1, 1, 6.12323e-17, 0, 0);
transition: transform 0.4s ease-in-out 0s;
box-sizing: content-box;
border-radius: 10px;
transform: rotate(0deg);
-webkit-user-drag: none;
}
.square:hover {
transition: 1s;
transform: rotate(-180deg);
}
body {
background-size: cover;
background-repeat: no-repeat;
background-position: fixed;
background-attachment: fixed;
color: white;
}
</style>
</head>
<body class="is-preload" style="background-image: url('images/background.jpg');">
<!-- Wrapper -->
<div id="wrapper">
<!-- Header -->
<header id="header">
<div class="inner">
<!-- Logo -->
<a href="/" style="border-bottom: none;"><img class="square" src="images/JA.webp"></a>
<!-- Nav -->
<nav>
<ul>
<li><a href="#menu">Menu</a></li>
</ul>
</nav>
</div>
</header>
<!-- Menu -->
<nav id="menu">
<h2>Menu</h2>
<ul>
<li><a href="/">Home</a></li>
<li><a href="about">About Us</a></li>
<li><a href="contact">Contact Us</a></li>
<li><a href="privacypolicy">Privacy Policy</a></li>
</ul>
</nav>
<!-- Main -->
<div id="main">
<div class="inner">
<header>
<!-- <h1>Play!!</h1>
<p><b>Cube Smasher, Blackjack, Chess and more!</b></p> -->
<h1>Play
<a style="text-decoration: none; color: #FFCD00;" class="typewrite" data-period="2000" data-type='[ "Cube Smasher", "Blackjack", "Chess", "Hangman", "Tic-Tac-Toe", "Tower Blocks", "Planet Defence", "Memory Game", "Classic Sudoku", "Classic 2048" ]'>
<span class="wrap"></span>
</a>
</h1>
</header>
<section class="tiles">
<article class="style1">
<span class="image">
<img src="images/box.png" alt="Cube Smasher" loading="lazy" />
</span>
<a href="games/box">
<h2>Cube Smasher</h2>
<div class="content">
<p>Slash the boxes</p>
</div>
</a>
</article>
<article class="style2">
<span class="image">
<img src="images/blackjack.png" alt="Blackjack" loading="lazy" />
</span>
<a href="games/blackjack">
<h2>Blackjack</h2>
<div class="content">
<p>Play online Blackjack!</p>
</div>
</a>
</article>
<article class="style3">
<span class="image">
<img src="images/chess.png" alt="Chess" loading="lazy" />
</span>
<a href="games/chess">
<h2>Chess</h2>
<div class="content">
<p>Play chess with your friend or AI</p>
</div>
</a>
</article>
<article class="style4">
<span class="image">
<img src="images/hangman.png" alt="Hangman" loading="lazy" />
</span>
<a href="games/hangman">
<h2>Hangman</h2>
<div class="content">
<p>Childhood paper game</p>
</div>
</a>
</article>
<article class="style5">
<span class="image">
<img src="images/tictactoe.png" alt="TicTacToe" loading="lazy" />
</span>
<a href="games/tictactoe">
<h2>Tic Tac Toe</h2>
<div class="content">
<p>Play the classic Tic-Tac-Toe game for free online</p>
</div>
</a>
</article>
<article class="style6">
<span class="image">
<img src="images/towerblocks.png" alt="Tower Blocks" loading="lazy" />
</span>
<a href="games/tower">
<h2>Tower Blocks</h2>
<div class="content">
<p>How much can you score?</p>
</div>
</a>
</article>
<article class="style2">
<span class="image">
<img src="images/rocket.png" alt="Planet Defence" loading="lazy" />
</span>
<a href="games/planet">
<h2>Planet Defence</h2>
<div class="content">
<p>Protect the planet</p>
</div>
</a>
</article>
<article class="style3">
<span class="image">
<img src="images/memory.png" alt="Memory Game" loading="lazy" />
</span>
<a href="games/memory">
<h2>Memory Game</h2>
<div class="content">
<p>How good is your memory?</p>
</div>
</a>
</article>
<article class="style1">
<span class="image">
<img src="images/sudoku.png" alt="Classic Sudoku" loading="lazy" />
</span>
<a href="games/csudoku">
<h2>Classic Sudoku</h2>
<div class="content">
<p>Do you remember playing Sudoku when you were a child?</p>
</div>
</a>
</article>
<article class="style2">
<span class="image">
<img src="images/2048.png" alt="Classic 2048" loading="lazy" />
</span>
<a href="games/2048">
<h2>Classic 2048</h2>
<div class="content">
<p>Join the tiles, get to 2048</p>
</div>
</a>
</article>
<article class="style3">
<span class="image">
<img src="images/coloron.png" alt="Coloron" loading="lazy" />
</span>
<a href="games/coloron">
<h2>Coloron Game</h2>
<div class="content">
<p>Match the colors</p>
</div>
</a>
</article>
<article class="style1">
<span class="image">
<img src="images/snake.jpg" alt="Classic Snake" loading="lazy" />
</span>
<a href="games/snake">
<h2>Snake</h2>
<div class="content">
<p>Play the childhood game!</p>
</div>
</a>
</article>
<article class="style2">
<span class="image">
<img src="images/adarkroom.jpg" alt="A Dark Room" loading="lazy" />
</span>
<a href="games/adarkroom/">
<h2>A Dark Room</h2>
<div class="content">
<p>Good luck on your text adventure!</p>
</div>
</a>
</article>
<article class="style3">
<span class="image">
<img src="images/zombie.jpg" alt="A Dark Room" loading="lazy" />
</span>
<a href="games/zombie">
<h2>Zombie Mayhem</h2>
<div class="content">
<p>Dive into chaos and survival in this intense zombie-themed game</p>
</div>
</a>
</article>
<article class="style1">
<span class="image">
<img src="images/hexagon.jpg" alt="Hextris" loading="lazy" />
</span>
<a href="games/hextris/">
<h2>Hextris</h2>
<div class="content">
<p>An addictive puzzle game inspired by Tetris.</p>
</div>
</a>
</article>
</section>
</div>
</div>
<!-- Footer -->
<footer id="footer" style="color: black; background-color: #3eb240;">
<div class="inner">
<section>
<h2>Follow Us</h2>
<ul class="icons">
<li><a style="border: 1px solid black;" href="https://twitter.com/JalishMahmud" target="_blank" class="icon brands style2 fa-brands fa-x-twitter"><span class="label">Twitter</span></a></li>
<li><a style="border: 1px solid black;" href="https://www.facebook.com/jalishmahmudsujon" target="_blank" class="icon brands style2 fa-brands fa-facebook"><span class="label">Facebook</span></a></li>
<li><a style="border: 1px solid black;" rel="me" href="https://mastodon.social/@Vucko130" target="_blank" class="icon brands style2 fa-brands fa-mastodon"><span class="label">Mastodon</span></a></li>
<li><a style="border: 1px solid black;" href="https://github.com/Viperz75" target="_blank" class="icon brands style2 fa-brands fa-github"><span class="label">GitHub</span></a></li>
<li><a style="border: 1px solid black;" href="mailto:[email protected]" class="icon solid style2 fa-solid fa-envelope"><span class="label">Email</span></a></li>
</ul>
</section>
<ul class="copyright" style="color:#000">
<li>Copyright © <span id="copyrightYear"></span> AlphaXB Tech</li>
<script>
var copyrightYear = new Date().getFullYear();
document.getElementById("copyrightYear").innerHTML = copyrightYear;
</script>
<li>Developed By: <a href="https://www.akashmahmud.eu.org" target="_blank">Niaz Mahmud Akash</a></li>
<li><a href="https://status.alphaxb.com" target="_blank">Server Status</a></li>
<li><a href="privacypolicy">Privacy Policy</a></li>
</ul>
</div>
</footer>
</div>
<!-- Scripts -->
<script>
var TxtType = function(el, toRotate, period) {
this.toRotate = toRotate;
this.el = el;
this.loopNum = 0;
this.period = parseInt(period, 10) || 2000;
this.txt = '';
this.tick();
this.isDeleting = false;
};
TxtType.prototype.tick = function() {
var i = this.loopNum % this.toRotate.length;
var fullTxt = this.toRotate[i];
if (this.isDeleting) {
this.txt = fullTxt.substring(0, this.txt.length - 1);
} else {
this.txt = fullTxt.substring(0, this.txt.length + 1);
}
this.el.innerHTML = '<span class="wrap">' + this.txt + '</span>';
var that = this;
var delta = 200 - Math.random() * 100;
if (this.isDeleting) {
delta /= 2;
}
if (!this.isDeleting && this.txt === fullTxt) {
delta = this.period;
this.isDeleting = true;
} else if (this.isDeleting && this.txt === '') {
this.isDeleting = false;
this.loopNum++;
delta = 500;
}
setTimeout(function() {
that.tick();
}, delta);
};
window.onload = function() {
var elements = document.getElementsByClassName('typewrite');
for (var i = 0; i < elements.length; i++) {
var toRotate = elements[i].getAttribute('data-type');
var period = elements[i].getAttribute('data-period');
if (toRotate) {
new TxtType(elements[i], JSON.parse(toRotate), period);
}
}
// INJECT CSS
var css = document.createElement("style");
css.type = "text/css";
css.innerHTML = ".typewrite > .wrap { border-right: 0.08em solid #fff}";
document.body.appendChild(css);
};
</script>
<script defer src="https://code.jquery.com/jquery-3.7.1.min.js"></script>
<script defer src="assets/js/browser.min.js"></script>
<script defer src="assets/js/breakpoints.min.js"></script>
<script defer src="assets/js/util.js"></script>
<script defer src="assets/js/main.js"></script>
</body>
</html>