-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (54 loc) · 2.55 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Mine Sweeper</title>
<link rel="stylesheet" href="css/app.css">
<link rel="shortcut icon" href="img/favicon.ico" type="image/x-icon">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" rel="stylesheet">
</head>
<body onload="onInit()">
<button class="play" onclick="toggleMusic()">▶️</button>
<button class="dark" onclick="darkMode(), toggleMoon(this) ">🌔</button>
<button class="help" onclick="showHelp()">❓</button>
<h1>Mine<span onclick="darkMode()" style="cursor: pointer;">💣</span>Sweeper</h1>
<p class="smiley" onclick="onRestart()"><img class="smiley-img" src="img/happy.png"></p>
<div class="instruction hidden">
<p>Welcome back to the 90s. <br>
<span style="font-size: 12px;"">The sounds, the design and atmosphere adapted themselves</span> 🕹️
</p>
<hr class=" yellow-hr">
<p style="font-size: 10px; color: #f9ec5d;">Your mission is to locate the mines in the area and clear
it!
Don't forget to mark the mines with a flag 🚩
<br>Good Luck.
</p>
</div>
<p class="heart1"><img class="heart1-img" src="img/red-heart.png"></p>
<p class="heart2"><img class="heart2-img" src="img/red-heart.png"></p>
<p class="heart3"><img class="heart3-img" src="img/red-heart.png"></p>
<div class="modal">
<span></span>
</div>
<table class="board-container">
<tbody class="board"></tbody>
</table>
<p class="flag"><span class="flag-count" style="color:#d21404;font-size: 12px;">0</span>🚩</p>
<button class="undo-btn" onclick="makeUndo()">UNDO</button>
<p class="timer" style="font-size: 14px; color: #36454F;">Time: 0</p>
<div class="level-buttons">
<button class="easy" onclick="onEasy()">Easy</button>
<button class="medium" onclick="onMedium()">Medium</button>
<button class="hard" onclick="onInit('hard')">Hard</button>
</div>
<section class="footer">
<hr>
Made by <span style="color:#004c4c;">Raz Amsalem</span>
</section>
<script src="js/utils.js"></script>
<script src="js/main.js"></script>
</body>
</html>