-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathminesweeper.html
34 lines (34 loc) · 1.27 KB
/
minesweeper.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Minesweeper</title>
<link rel="stylesheet" href="minesweeper.css">
<script src="minesweeper.js"></script>
</head>
<body>
<h1>💥 💣 Minesweeper 💣 💥</h1>
<div class="instructions">
<p>Click on A Level to Start or Restart a Game</p>
<p>Left Click on a Square within the Grid to Reveal, Right Click to Place a Flag</p>
<p><small>Best Played on Larger Screens</small></p>
</div>
<div class="controls">
<button class="control-btn" id="beginner">Beginner</button>
<button class="control-btn" id="intermediate">Intermediate</button>
<button class="control-btn" id="advanced">Advanced</button>
<div id="timer">00:00</div>
<div id="flags">0 🚩</div>
</div>
<div class="game-container">
<div id="minesweeper"></div>
</div>
<h2>⏱️ Your Personal Best Time ⏱️</h2>
<div id="best-times">
<div class="best-time" id="best-time-beginner">♾️</div>
<div class="best-time" id="best-time-intermediate">♾️</div>
<div class="best-time" id="best-time-advanced">♾️</div>
</div>
</body>
</html>