-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
51 lines (48 loc) · 2.37 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="2048.css" id="theme">
<title>2048, but Different</title>
</head>
<body>
<h1>2048, but Different</h1>
<h2>Score:
<span id="score">0</span>
</h2>
<div id="game"></div>
<!-- Game Over Screen Overlay -->
<div id="coverScreen" class="cover-screen hide">
<h3 id="game-over">Game Over</h3>
<p id="result"></p>
<button type="button" id="replayButton">Play Again</button>
</div>
<!-- Theme Selector -->
<div id="container" class="container">
<div class="dropdown">
<button>Select Theme</button>
<div class="dropdown-content hide">
<a onclick="document.getElementById('theme').href = 'original.css'">Original</a>
<a onclick="document.getElementById('theme').href = '2048.css'">Purple!</a>
<a onclick="document.getElementById('theme').href = 'genshin.css'">Genshin Impact</a>
<a onclick="document.getElementById('theme').href = 'unknown.css'">?????</a>
</div>
</div>
</div>
<!-- secret-->
<div id="secret" class="secret">
<a href="https://www.youtube.com/watch?v=YINnWc_FfMc" target="_blank" rel="noopener noreferrer">SECRET</a>
</div>
<!-- Bottom Ribbon-->
<div id="bottom" class="bottom">
<p align="center">Made by Rongbin99
<a href="https://www.linkedin.com/in/rongbin99/" target="_blank" rel="noopener noreferrer"><img style="margin-bottom: -5px" src="assets/LI-In-Bug.png" alt="LinkedIn" height="25" /></a>
<a href="https://twitter.com/rongbin99" target="_blank" rel="noopener noreferrer"><img style="margin-bottom: -5px" src="assets/sl_z_072523_61700_01.jpg" alt="X / Twitter" height="25" /></a>
<a href="https://github.com/Rongbin99/2048" target="_blank" rel="noopener noreferrer"><img style="margin-bottom: -5px; margin-left: -5px;" src="assets/GitHub-Symbol.png" alt="GitHub" height="25" /></a>
</p>
</div>
<!-- JS Linking -->
<script defer src="2048.js"></script>
</body>
</html>