-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
58 lines (52 loc) · 1.85 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
55
56
57
58
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>Minesweeper</title>
<link rel="shortcut icon" type="image/png" href="images/icon128.png" />
<script type="text/javascript" src="libraries/easeljs.min.js"></script>
<script
type="text/javascript"
src="libraries/preloadjs.min.js"
></script>
<script type="module" src="source/main.ts"></script>
</head>
<body>
<div id="MinesLeftValue"></div>
<div id="TimerValue"></div>
<div id="CanvasContainer">
<canvas id="MainCanvas"></canvas>
</div>
<div id="Menu" class="hidden">
<span>
<label for="ColumnSize" class="menuLabel">columns</label>
<input id="ColumnSize" type="range" min="5" max="40" step="1" />
<span id="ColumnSizeValue"></span>
</span>
<span>
<label for="LineSize" class="menuLabel">lines</label>
<input id="LineSize" type="range" min="5" max="40" step="1" />
<span id="LineSizeValue"></span>
</span>
<span>
<label for="NumberOfMines" class="menuLabel"
>Number of mines</label
>
<input
id="NumberOfMines"
type="range"
min="5"
max="200"
step="5"
/>
<span id="NumberOfMinesValue"></span>
</span>
<input id="Restart" type="button" value="restart" />
</div>
<div id="HighScore" class="hidden">
<span class="menuLabel">high-scores: </span>
<span id="HighScoreContainer"></span>
</div>
<div id="LoadMessage" class="hidden"></div>
</body>
</html>