-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
54 lines (41 loc) · 1.16 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
<!DOCTYPE html>
<html>
<head>
<title>Minesweeper</title>
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<div id="headers" class="textCenter">
<h1 class="header">Minesweeper</h1>
<p>Left click to reveal, Right click to flag</p>
</div>
<div id="canvas-holder" class="textCenter"></div>
<div id="ui-holder" class="center wrapper">
<input id="restart" class="button flex-item" type="button" value="RESTART">
<!-- Selecting difficulty -->
<span>
Difficulty:
<select required class="flex-item" id="difficulty">
<option value="10" default>Easy</option>
<option value="25" >Medium</option>
<option value="50" >Hard</option>
<option value="80" >Extreme</option>
</select>
</span>
<span>
<input checked id="particles" class="flex-item" type="checkbox" />
Particles?
</span>
<div class="flex-item" id="score"></div>
</div>
</body>
<script src="js/p5.js"></script>
<script src="js/script.js"></script>
<script src="js/objects.js"></script>
<script>
document.getElementById('canvas-holder').oncontextmenu = function() {
return false;
}
</script>
</html>