forked from fossasia/labyrinth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
240 lines (213 loc) · 8.81 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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="description" content="Labyrinth | Game ">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<!-- UI Sheets -->
<link rel="stylesheet" type="text/css" href="css/materialize.min.css">
<link rel="stylesheet" type="text/css" href="css/fonts.css">
<link rel="stylesheet" type="text/css" href="css/custom.css">
<link rel="stylesheet" type="text/css" href="css/footer.css">
<link rel="stylesheet" type="text/css" href="css/tiles.css">
<script type="text/javascript" src="js/sweetalert2.min.js"></script>
<!-- Engine Scripts -->
<script type="text/javascript" src="js/jquery.min.js"></script>
<script type="text/javascript" src="js/materialize.min.js"></script>
<script type="text/javascript" src="js/sound.js"></script>
<script type="text/javascript" src="js/tiles.js"></script>
<script type="text/javascript" src="js/levels.js"></script>
<script type="text/javascript" src="js/inventory.js"></script>
<script type="text/javascript" src="js/player.js"></script>
<script type="text/javascript" src="js/level.js"></script>
<script type="text/javascript" src="js/badges.js"></script>
<script type="text/javascript" src="js/sidebar.js"></script>
<script type="text/javascript" src="js/gui.js"></script>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css">
<title>Labyrinth</title>
</head>
<body>
<div class="navbar-fixed">
<nav>
<div class="nav-wrapper">
<ul class="left">
<li><a href="#" onclick="openSideBar();"><i class="fa fa-bars" aria-hidden="true"></i></a></li>
</ul>
<a href="https://github.com/fossasia/labyrinth" class="brand-logo center">Labyrinth</a>
<ul class="right hide-on-med-and-down">
<li>
<a href="howtoplay.html">How to Play</a>
</li>
<li>
<a href="credits.html">Credits</a>
<li>
<li>
<a href="contributors.html">Contributors</a>
</li>
</ul>
</div>
</nav>
</div>
<!-- Side Bar -->
<div id="slide-out" class="side-nav full row left-column col s12">
<a href="#" onclick="closeSideBar();" class="close-sidebar"><i class="fa fa-times" aria-hidden="true"></i></a>
<div class="border1"></div>
<div class="side-nav-card">
<div class="card-content white-text">
<span class="card-title">Statistics</span>
<p>Player Moved :
<span id="playerMoves">0</span> Times</p>
</div>
<div class="border1"></div>
<div class="card-content white-text">
<span class="card-title">Audio</span>
<p class="trackname">Now Playing : <b><span id="backgroundSongName"></span></b> by <b><span id="backgroundSongAuthor"></span></b></p>
</div>
<div class="card-action">
<div class="audiosetting">
<a class="waves-effect waves-light btn blue-grey darken-2" onclick="previousBackgroundAudio();" title="Previous Audio"><i class="fa fa-step-backward" aria-hidden="true"></i></a>
<a class="waves-effect waves-light btn blue-grey darken-2" onclick="startBackgroundAudio();" title="Play Audio"><i class="fa fa-play" aria-hidden="true"></i></a>
<a class="waves-effect waves-light btn blue-grey darken-2" onclick="stopBackgroundAudio();" title="Stop"><i class="fa fa-pause" aria-hidden="true"></i></a>
<a class="waves-effect waves-light btn blue-grey darken-2" onclick="nextBackgroundAudio();" title="Next Audio"><i class="fa fa-step-forward" aria-hidden="true"></i></a>
</div>
<p class="range-field">
<input type="range" onchange="setVolume()" id='volume1' min=0 max=1 step=0.1 value='1'>
</p>
<div id="tileLicense"></div>
</div>
<div class="border1"></div>
<div class="card-content white-text">
<span class="card-title">Share Game</span>
</div>
<div class="card-action">
<div class="social-container">
<ul class="social-icons">
<li>
<a class="btn-floating transparent waves-effect waves-light facebook social-icon" target="_blank" href="https://www.facebook.com/sharer.php?u=http://rawgit.com/fossasia/labyrinth/master/index.html">
<i class="fa fa-facebook"></i>
</a>
</li>
<li>
<a class="btn-floating transparent waves-effect waves-light twitter social-icon" target="_blank" href="https://twitter.com/share?url=http://rawgit.com/fossasia/labyrinth/master/index.html">
<i class="fa fa-twitter"></i>
</a>
</li>
<li>
<a class="btn-floating transparent waves-effect waves-light googleplus social-icon" target="_blank" href="https://plus.google.com/share?url=http://rawgit.com/fossasia/labyrinth/master/index.html">
<i class="fa fa-google-plus"></i>
</a>
</li>
</ul>
</div>
</div>
<div class="border1"></div>
<div class="card-content white-text">
<span class="card-title">Follow us on</span>
</div>
<div class="card-action">
<div class="social-container">
<ul class="social-icons">
<li>
<a class="btn-floating transparent waves-effect waves-light facebook social-icon" target="_blank" href="http://facebook.com/fossasia">
<i class="fa fa-facebook"></i>
</a>
</li>
<li>
<a class="btn-floating transparent waves-effect waves-light twitter social-icon" target="_blank" href="http://twitter.com/fossasia">
<i class="fa fa-twitter"></i>
</a>
</li>
<li>
<a class="btn-floating transparent waves-effect waves-light youtube social-icon" target="_blank" href="https://www.youtube.com/fossasiaorg">
<i class="fa fa-youtube-play"></i>
</a>
</li>
<li>
<a class="btn-floating transparent waves-effect waves-light linkedin social-icon" target="_blank" href="https://www.linkedin.com/groups/FOSSASIA-3762811">
<i class="fa fa-linkedin"></i>
</a>
</li>
<li>
<a class="btn-floating transparent waves-effect waves-light googleplus social-icon" target="_blank" href="https://plus.google.com/108920596016838318216">
<i class="fa fa-google-plus"></i>
</a>
</li>
<li>
<a class="btn-floating transparent waves-effect waves-light github social-icon" target="_blank" href="https://github.com/fossasia">
<i class="fa fa-github"></i>
</a>
</li>
</ul>
</div>
</div>
<div class="border1"></div>
<div class="card-content white-text">
<span class="card-title">Inventory</span>
<ul class="collection black-text" id="inventoryDisplay">
<!-- SAMPLE ITEM
<li class="collection-item avatar">
<img src="images/yuna.jpg" alt="" class="circle">
<span class="title">Title</span>
<p>First Line <br>
Second Line
</p>
<a href="#!" class="secondary-content"><i class="material-icons">grade</i></a>
</li>
-->
<!-- SAMPLE ITEM WITH ICON
<li class="collection-item avatar">
<i class="material-icons circle">folder</i>
<span class="title">Title</span>
<p>First Line <br>
Second Line
</p>
<a href="#!" class="secondary-content"><i class="material-icons">grade</i></a>
</li>
-->
</ul>
</div>
<div class="border1"></div>
<div class="card-content white-text">
<span class="card-title">Your Badges</span>
<ul class="collection black-text" id="badgesDisplay">
</ul>
</div>
<div class="border1"></div>
<div class="card-content white-text">
<span class="card-title">Version</span>
<span class="versionSpan"><a href="" id="labyrinthVersion"></a></span>
</div>
</div>
</div>
<!-- Control Buttons -->
<div class="fixed-action-btn toolbar">
<a class="btn-floating btn-large red">
<i class="large material-icons">directions_run</i>
</a>
<ul>
<li class="waves-effect waves-light">
<a id="upKey">
<i class="material-icons">arrow_upward</i>
</a>
</li>
<li class="waves-effect waves-light">
<a id="leftKey">
<i class="material-icons">arrow_back</i>
</a>
</li>
<li class="waves-effect waves-light">
<a id="rightKey">
<i class="material-icons">arrow_forward</i>
</a>
</li>
<li class="waves-effect waves-light">
<a id="downKey">
<i class="material-icons">arrow_downward</i>
</a>
</li>
</ul>
</div>
<!-- Game Tiles -->
<div id="tiles"></div>
</body>
</html>