-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
53 lines (52 loc) · 1.57 KB
/
index.html
File metadata and controls
53 lines (52 loc) · 1.57 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Minesweeper</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<header>
<h1>MineSweeper</h1>
</header>
<main>
<div id="display-area">
<div id="timer">10:00</div>
<div id="scoreboard">
<p>High Score: </p>
<div id="hi-score">0</div>
<p>Score: </p>
<div id="score">0</div>
<p>Odds Multiplier: </p>
<div id="odds"></div>
</div>
<div id="difficulty">
<div>
<input type="radio" name="difficulty" value="1" id="easy" checked>
<label for="easy">Easy (10 Bombs)</label>
</div>
<div>
<input type="radio" name="difficulty" value="2" id="medium">
<label for="medium">Medium (15 Bombs)</label>
</div>
<div>
<input type="radio" name="difficulty" value="3" id="hard">
<label for="hard">Hard (20 Bombs)</label>
</div>
<div>
<input type="radio" name="difficulty" value="4" id="nightmare">
<label for="nightmare">Nightmare (30 Bombs)</label>
</div>
</div>
<button id="new-game" type="button" onclick="newGame()">New Game</button>
</div>
<div id="game-grid">
</div>
</main>
<footer>
<script src="script.js"></script>
</footer>
</body>
</html>