-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (37 loc) · 1.62 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
<!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">
</head>
<body>
<h1>💣Minesweeper🧹</h1>
<div id="game-info">
<div id="mine_count">000</div>
<div id="face"></div>
<div id="timer">0:00</div>
</div>
<div id="board-Info">
<div id="text_box_labels">
<label for="num_of_rows">Number of Rows:</label>
<label for="num_of_cols">Number of Columns:</label>
<label for="num_of_mines">Number of Mines:</label>
</div>
<div>
<input id="num_of_rows" type="number" class="textboxes" maxlength="2" value="10"><br>
<input id="num_of_cols" type="number"class="textboxes" maxlength="2" value="10"><br>
<input id="num_of_mines" type="number" class="textboxes" maxlength="2" value="10"><br>
</div>
<button id="gen_board_btn">Generate Board</button><br>
</div>
<div id="board"></div>
<div>
<input type="radio" id="dig" name="click_action" checked="checked"><label for="dig_btn">⛏️Dig on Click</label>
<br>
<input type="radio" id="flag" name="click_action"><label for="flag_btn">🚩Flag on Click</label>
</div>
<script src="minesweeper_module.js" type="module"></script>
</body>
</html>