-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
70 lines (70 loc) · 2.26 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Snake</title>
<link rel="shortcut icon" href="assets/img/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="assets/css/styles.css" />
<!-- Bootstrap icons -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.0/font/bootstrap-icons.css" />
<script defer src="assets/js/script.js"></script>
</head>
<body>
<header>
<h1 id="title">SNAKE GAME v1.2.0</h1>
</header>
<main>
<div id="container">
<div id="status-container">
<div id="score-container">
<!-- <i class="bi bi-apple"></i><span id="score">0</span> -->
<img
src="assets/img/icons/apple.svg"
alt="maça em preto e branco"
id="apple"
/>
<span id="score">0</span>
</div>
<div id="high-scores-container">
<div id="first-place-container" class="high-score">
<img
src="assets/img/icons/first-place.svg"
alt="imagem de troféu dourado"
class="trophy"
/>
<span id="first-place-score">0</span>
</div>
<div id="second-place-container" class="high-score">
<img
src="assets/img/icons/second-place.svg"
alt="imagem de troféu prateado"
class="trophy"
/>
</i><span id="second-place-score">0</span>
</div>
<div id="third-place-container" class="high-score">
<img
src="assets/img/icons/third-place.svg"
alt="imagem de troféu de cor bronze"
class="trophy"
/>
</i><span id="third-place-score">0</span>
</div>
</div>
<button id="toggle-mute-sound" type="button">
<img
src="assets/img/icons/sound-off.svg"
alt="imagem em preto e branco que representa som desativado"
id="sound"
class="sound-off"
/>
</button>
</div>
<div id="stage-container">
<canvas id="stage" width="512" height="512"></canvas>
</div>
</div>
</main>
</body>
</html>