-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·35 lines (27 loc) · 1.03 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
<!DOCTYPE html>
<html>
<head>
<title>Minesweeper</title>
<link type="text/css" rel="stylesheet" href="./css/style.css" />
<script type="text/javascript" src="js/minesweeper.js" ></script>
</head>
<body>
<h1> Minesweeper </h1>
<div>
<select id="difficulty" onchange="setDifficulty();">
<option value="0">Easy</option>
<option value="1">Medium</option>
<option value="2">Hard</option>
</select>
<span> | </span>
<span>Remaining Mines:</span>
<span id="flagCount" > </span>
<span> | </span>
<span>Time:</span>
<span id="timer" > </span>
<span> | </span>
</div>
<div id="smiley" class="smiley" onmousedown="smileyDown();" onmouseup="smileyUp();" onclick="startGame();"></div>
<div id="minefield"></div>
</body>
</html>