-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
132 lines (130 loc) · 4.79 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="stylesheet" href="css/index.css" />
<link
href="https://fonts.googleapis.com/css?family=Montserrat%7CMontserrat+Alternates&display=swap"
rel="stylesheet"
/>
<title>Test</title>
</head>
<body>
<main class="main">
<section class="main-div header">
<div class="nav-container">
<nav>
<label for="nav-toggle" class="burger-menu">
<img src="assets/menu.png" alt="" />
</label>
<!-- <div class="left-menu">
<a href="#">Shop</a>
<a href="#">Blog</a>
<a href="#">About</a>
<a href="#">Contact</a>
</div> -->
<a href="#" class="logo"></a>
</nav>
</div>
</section>
<section class="body main-div">
<div class="new-game" id="new-game">
<a href="#" id="btn-continue" onclick="continue_game_func();"
><img src="assets/button-continue.png" alt=""
/></a>
<div id="btn-new">
<a href="#" onclick="new_game_func(1);"
><img src="assets/btn-map1.png" alt=""
/></a>
<a href="#" id="btn-new" onclick="new_game_func(2);"
><img src="assets/btn-map2.png" alt=""
/></a></div>
</div>
<!-- <div id="maze-level" class="maze-level">
<div>
<img onclick="new_game_func();" src="assets/level-1.png" alt="level-1" id="level-1"/>
</div>
<div>
<a href=""><img src="assets/level-2.png" alt="level-2" id="level-2"/>
</div>
<div>
<img src="assets/level-3.png" alt="level-3"/>
</div>
<div>
<img src="assets/level-4.png" alt="level-4"/>
</div>
<div>
<img src="assets/level5.png" alt="level-5"/>
</div>
<div>
<img src="assets/level-6.png" alt="level-6"/>
</div>
</div> -->
<div class="play-maze" id="play-maze">
<div class="maze-icons">
<a href="#" class="maze-icon"
><img src="assets/icon-help.png" alt="Help"
/></a>
<a href="#" class="maze-icon" onclick="pause_game_func();"
><img src="assets/icon-pause.png" alt="Pause"
/></a>
<a href="#" class="maze-icon" onclick="stop_game_func();"
><img src="assets/icon-back.png" alt="Back"
/></a>
</div>
<div class="elapsed-time">
<p>Elapsed-time: <span id="elapsed-time">00:00</span></p>
</div>
<div class="maze">
<div class="grid" id="maze-container"></div>
</div>
<div class="maze_navigation">
<span class="navigation_buttons"></span>
<span class="navigation_buttons"
><a href="#" onclick="move_player('T');"
><img src="assets/top.png" alt=""/></a
></span>
<span class="navigation_buttons"></span>
<span class="navigation_buttons"
><a href="#" onclick="move_player('L');"
><img src="assets/left.png" alt=""/></a
></span>
<span class="navigation_buttons"></span>
<span class="navigation_buttons"
><a href="#" onclick="move_player('R');"
><img src="assets/right.png" alt=""/></a
></span>
<span class="navigation_buttons"></span>
<span class="navigation_buttons"
><a href="#" onclick="move_player('B');"
><img src="assets/bottom.png" alt=""/></a
></span>
<span class="navigation_buttons"></span>
</div>
</div>
</section>
<section class="footer main-div">
<div class="footer-icons">
<a href="#" class="maze-icon">
<img src="assets/icon-leaderboard.png" alt="Help"/>
</a>
<a href="#" class="maze-icon">
<img src="assets/icon-shoppingcart.png" alt="Pause"/>
</a>
<a href="#" class="maze-icon">
<img src="assets/icon-notificaiton.png" alt="Back"/>
</a>
<a href="#" class="maze-icon">
<img src="assets/icon-settings.png" alt="Back"/>
</a>
</div>
</section>
</main>
<div id="scriptLinkPlaceholder">
<script src="js/map1.js" id="scriptLink"></script>
</div>
<script src="js/index.js"></script>
</body>
</html>