-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathindex.html
More file actions
113 lines (98 loc) · 4.01 KB
/
index.html
File metadata and controls
113 lines (98 loc) · 4.01 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- <meta name="viewport" content="width=device-width, user-scalable=no"> -->
<title>2048 by pradeep</title>
<link rel="stylesheet" href="./style.css">
<link rel="shortcut icon" href="./icons/2048.jpg" type="image/x-icon">
</head>
<body>
<nav>
<div id="logo">
2048
</div>
<ul>
<li>
<a class="nav-link" target="_blank" href="https://github.com/pradeexsu/2048"> Code </a>
</li>
<li>
<a class="nav-link" href="./how_to_play.html">How to play</a>
</li>
<li>
<a class="nav-link" href="./about.html">About</a>
</li>
</ul>
</nav>
<div>
<table id="boardx">
<tr class="rowx" id="score-card">
<td class="blcokx score-block left-block" colspan="2" rowspan="2">
Score: <span id="score">0</span>
<span id="plusx"></span>
</td>
<td class="blcokx score-block right-block" colspan="2" rowspan="2">
Best: <span id="best">0</span>
</td>
</td>
</tr>
<tr class="rowx">
<td class="blockx c0"> </td>
<td class="blockx c0"> </td>
<td class="blockx c0"> </td>
<td class="blockx c0"> </td>
</tr>
<tr class="rowx">
<td class="blockx c0"> </td>
<td class="blockx c0"> </td>
<td class="blockx c0"> </td>
<td class="blockx c0"> </td>
</tr>
<tr class="rowx">
<td class="blockx c0"> </td>
<td class="blockx c0"> </td>
<td class="blockx c0"> </td>
<td class="blockx c0"> </td>
</tr>
<tr class="rowx">
<td class="blockx c0"> </td>
<td class="blockx c0"> </td>
<td class="blockx c0"> </td>
<td class="blockx c0"> </td>
</tr>
</table>
<div class="reset-btn-wraper">
<div class="text-center ">
<div class="btn reset">Reset</div>
</div>
</div>
<div class="modal">
<div class="modal-content text-center">
<div class="game-over">Game Over</div>
<div class="btn restart">Restart Game</div>
</div>
</div>
</div>
<footer class="footer">
<div>
<a href="https://www.linkedin.com/in/pradeep-swe" target="_blank"><img src="./icons/linkedin.png" alt="linkedin" class="social-icon"></a>
<a href="https://github.com/pradeexsu" target="_blank"><img src="./icons/github.png" alt="github" class="social-icon"></a>
<a href="https://stackoverflow.com/users/12537691/pradeexsu?tab=profile" target="_blank"><img src="./icons/stack.png" alt="stackoverflow" class="social-icon"></a>
<a href="https://pradeexsu.github.io" target="_blank"><img src="./icons/website.png" alt="website" class="social-icon"></a>
</div>
<div>2048 Game built with ❤️ using
<img class="icon" src="./icons/css3.png" alt="css icon">
<img class="icon" src="./icons/html5.png" alt="html icon">
<img class="icon" src="./icons/js.png" alt="js icon">
<img class="icon" src="./icons/vscode.png" alt="vscode icon"> and hosted on
<img class="icon" src="./icons/github.png" alt="github icon">
</div>
<div>
© 2021 by Pradeep Suthar
</div>
</footer>
<script src="./2048.js"></script>
</body>
</html>