-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
258 lines (235 loc) · 15.5 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
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
<!DOCTYPE html>
<html lang="en" class="theme">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="./assets/images/catmaze.ico" type="image/x-icon">
<title>CATmaze | Retrogames</title>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Russo+One&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./styles/main.css">
<link rel="stylesheet" href="./styles/console.css">
<link rel="stylesheet" href="./styles/screen.css">
<link rel="stylesheet" href="./styles/buttons.css">
<script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>
</head>
<body>
<div class="container">
<div class="console js-tilt" data-tilt="true">
<div class="console-inner">
<div class="console-front">
<section id="screen">
<div class="screen_border">
<div id="notification_bar">
<header>
<div>
<span id="effects_notification">
<span class="icon_effects-on">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 34 32">
<title>volume-high</title>
<path
d="M27.814 28.814c-0.384 0-0.768-0.146-1.061-0.439-0.586-0.586-0.586-1.535 0-2.121 2.739-2.739 4.247-6.38 4.247-10.253s-1.508-7.514-4.247-10.253c-0.586-0.586-0.586-1.536 0-2.121s1.536-0.586 2.121 0c3.305 3.305 5.126 7.7 5.126 12.374s-1.82 9.069-5.126 12.374c-0.293 0.293-0.677 0.439-1.061 0.439zM22.485 25.985c-0.384 0-0.768-0.146-1.061-0.439-0.586-0.586-0.586-1.535 0-2.121 4.094-4.094 4.094-10.755 0-14.849-0.586-0.586-0.586-1.536 0-2.121s1.536-0.586 2.121 0c2.55 2.55 3.954 5.94 3.954 9.546s-1.404 6.996-3.954 9.546c-0.293 0.293-0.677 0.439-1.061 0.439v0zM17.157 23.157c-0.384 0-0.768-0.146-1.061-0.439-0.586-0.586-0.586-1.535 0-2.121 2.534-2.534 2.534-6.658 0-9.192-0.586-0.586-0.586-1.536 0-2.121s1.535-0.586 2.121 0c3.704 3.704 3.704 9.731 0 13.435-0.293 0.293-0.677 0.439-1.061 0.439z">
</path>
<path
d="M13 30c-0.26 0-0.516-0.102-0.707-0.293l-7.707-7.707h-3.586c-0.552 0-1-0.448-1-1v-10c0-0.552 0.448-1 1-1h3.586l7.707-7.707c0.286-0.286 0.716-0.372 1.090-0.217s0.617 0.519 0.617 0.924v26c0 0.404-0.244 0.769-0.617 0.924-0.124 0.051-0.254 0.076-0.383 0.076z">
</path>
</svg>
</span>
<span class="icon_effects-off hidden">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 32 32">
<title>volume-mute2</title>
<path
d="M30 19.348v2.652h-2.652l-3.348-3.348-3.348 3.348h-2.652v-2.652l3.348-3.348-3.348-3.348v-2.652h2.652l3.348 3.348 3.348-3.348h2.652v2.652l-3.348 3.348 3.348 3.348z">
</path>
<path
d="M13 30c-0.26 0-0.516-0.102-0.707-0.293l-7.707-7.707h-3.586c-0.552 0-1-0.448-1-1v-10c0-0.552 0.448-1 1-1h3.586l7.707-7.707c0.286-0.286 0.716-0.372 1.090-0.217s0.617 0.519 0.617 0.924v26c0 0.404-0.244 0.769-0.617 0.924-0.124 0.051-0.254 0.076-0.383 0.076z">
</path>
</svg>
</span>
</span>
<span id="timer" class="hidden">
<span class="icon_timer">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 24 24">
<title>timer</title>
<path
d="M12 20.016q2.906 0 4.945-2.063t2.039-4.969-2.039-4.945-4.945-2.039-4.945 2.039-2.039 4.945 2.039 4.969 4.945 2.063zM19.031 7.406q0.797 1.031 1.383 2.648t0.586 2.93q0 3.703-2.625 6.352t-6.375 2.648-6.375-2.648-2.625-6.352 2.625-6.352 6.375-2.648q1.266 0 2.93 0.609t2.695 1.406l1.406-1.453q0.75 0.609 1.406 1.406zM11.016 14.016v-6h1.969v6h-1.969zM15 0.984v2.016h-6v-2.016h6z">
</path>
</svg>
</span>
<span id="timer_game">
0:00
</span>
</span>
</div>
<div>
<span id="clock">
</span>
<span id="battery">
<span class="icon-battery">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 36 28">
<title>battery-2</title>
<path
d="M4 20v-12h14v12h-14zM34 9c1.109 0 2 0.891 2 2v6c0 1.109-0.891 2-2 2v2.5c0 1.375-1.125 2.5-2.5 2.5h-29c-1.375 0-2.5-1.125-2.5-2.5v-15c0-1.375 1.125-2.5 2.5-2.5h29c1.375 0 2.5 1.125 2.5 2.5v2.5zM34 17v-6h-2v-4.5c0-0.281-0.219-0.5-0.5-0.5h-29c-0.281 0-0.5 0.219-0.5 0.5v15c0 0.281 0.219 0.5 0.5 0.5h29c0.281 0 0.5-0.219 0.5-0.5v-4.5h2z">
</path>
</svg>
</span>
</span>
</div>
</header>
</div>
<div id="play">
<h2>CATmaze</h2>
<div>
<p class="option_menu selected">Novo jogo</p>
<p class="option_menu">Ranking</p>
<p class="option_menu">Como jogar</p>
<p class="option_menu">Configurações</p>
</div>
<h4>Retrogames<span>®</span></h4>
</div>
<div id="records" class="hidden">
<div>
<h3>Ranking</h3>
<div class="records_times">
</div>
</div>
</div>
<div id="instructions" class="hidden">
<div>
<h3>CATmaze</h3>
<p>Ajude o gatinho a fugir!</p>
<p>CATmaze é um clássico dos games. O desafio estará ganho quando o gato conseguir escapar do labirinto</p>
<p>Vença o mais rápido possível e bata seu record!</p>
</div>
</div>
<div id="settings" class="hidden">
<div>
<h3>Configurações</h3>
<div class="audio_settings option_settings">
<p class="selected effects">Efeitos sonoros</p><span>-</span><span
class="active effects_on">ON</span><span class="effects_off">OFF</span>
</div>
<div class="theme_settings option_settings">
<p>Temas</p><span>-</span>
<div class="theme_options"><span
class="theme_classic theme_option active">Clássico</span><span
class="theme_night theme_option">Noite</span><span
class="theme_sweet theme_option">Sweet</span></div>
</div>
</div>
</div>
<div id="game" class="hidden">
<div id="container_map_game">
</div>
</div>
<div id="win_game" class="hidden">
<div>
<h2 class="alert_win">VOCÊ GANHOU!!!</h2>
<h2 class="alert_record hidden">NOVO RECORD!!!</h2>
<lottie-player src="https://assets5.lottiefiles.com/packages/lf20_zEkQFc.json"
background="transparent" speed="1" class="lotie-file" loop autoplay>
</lottie-player>
</div>
</div>
</div>
</section>
<section id="controls">
<div class="buttons">
<div class="arrows" title="Usar as setas do teclado">
<div class="up">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path
d="M0 16.67l2.829 2.83 9.175-9.339 9.167 9.339 2.829-2.83-11.996-12.17z" />
</svg>
</div>
<div class="right">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path
d="M7.33 24l-2.83-2.829 9.339-9.175-9.339-9.167 2.83-2.829 12.17 11.996z" />
</svg>
</div>
<div class="center"></div>
<div class="down">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path d="M0 7.33l2.829-2.83 9.175 9.339 9.167-9.339 2.829 2.83-11.996 12.17z" />
</svg>
</div>
<div class="left">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
<path
d="M16.67 0l2.83 2.829-9.339 9.175 9.339 9.167-2.83 2.829-12.17-11.996z" />
</svg>
</div>
</div>
<div class="config">
<div class="btn_start" title="Usar o ENTER do teclado">
<span>START</span>
</div>
<div class="btn_reset" title="Usar o DELETE do teclado">
<span>BACK</span>
</div>
</div>
</div>
<div class="decoration">
<div class="aberturas">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>
</div>
</section>
<div class="js-tilt-glare">
<div class="js-tilt-glare-inner"></div>
</div>
</div>
<div class="console-back">
<section id="help">
<h4>USE SEU TECLADO</h4>
<div>
<div class="keyboard_arrows help_keyboard">
<img src="./assets/images/arrows.png" alt="">
<p>MOVIMENTAR</p>
</div>
<div class="keyboard_enter help_keyboard">
<img src="./assets/images/enter.png" alt="">
<p>SELECIONAR</p>
</div>
<div class="keyboard_delete help_keyboard">
<img src="./assets/images/delete.png" alt="">
<p>VOLTAR</p>
</div>
</div>
</section>
<section id="bio">
<div>
<h5>Desenvolvido por <br/> Bruno Belarmino</h5>
<h6>Com o apoio Kenzie Academy</h6>
</div>
<div class="bio_redes">
<a href="https://www.linkedin.com/in/bruno-belarmino-nog/" target="_blank"><img src="https://img.icons8.com/dotty/80/000000/linkedin.png" /></a>
<a href="https://gitlab.com/BrunoBelarminoNog" target="_blank"><img src="https://img.icons8.com/dotty/80/000000/gitlab.png" /></a>
<a href="https://github.com/BrunoBelarminoNog" target="_blank"><img src="https://img.icons8.com/dotty/80/000000/github.png" /></a>
</div>
</section>
<div class="js-tilt-glare">
<div class="js-tilt-glare-inner"></div>
</div>
</div>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<script src="./tilt.jquery.min.js"></script>
<script src="./maps.js"></script>
<script src="./script.js"></script>
</body>
</html>