-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (36 loc) · 1.3 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MAZE Game</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="game-block">
<div id="game-area">
<h1 class="game_title">Adjust difficulty first</h1>
<input type="range" id="range" value="25" min="3" max="50">
<div><button type="button" class="start_game_btn hide">Start Game</button></div>
<div><button type="button" class="start_end_btn" onclick="if(confirm('Are you sure')) window.close()">Quite
Game</button></div>
</div>
</div>
<super-modal id="result">
<h1 slot="header">Result</h1>
<div class="result">
<h3 class="teal">Highscore: <span class="highscore-span"></span></h3>
<h1>Congratulation! You Won</h1>
<div class="score">
<h2>Time elapsed: </h2>
<h2 class="elapsed-time"></h2>
<h2>Seconds</h2>
</div>
</div>
<button slot="footer" class="start_end_btn main-menu">Main Menu</button>
</super-modal>
<script src="./matter.min.js"></script>
<script src="./super-modal.min.js"></script>
<script src="./index.js"></script>
</body>
</html>