-
Notifications
You must be signed in to change notification settings - Fork 0
/
game.html
112 lines (94 loc) · 3.04 KB
/
game.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
<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"
/>
<title>Juego del Ahorcado</title>
<link rel="stylesheet" href="css/reset.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/game.css" />
<link rel="stylesheet" href="css/media_query.css" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Fredericka+the+Great&display=swap"
rel="stylesheet"
/>
</head>
<body class="body-game">
<header>
<img src="img/logo.svg" alt="logo alura" class="logo" />
</header>
<main class="main-jogo">
<div>
<h1 class="titulo-principal">Juego del Ahorcado</h1>
<p class="regras">
Digite en el teclado una letra y adivine la palabra
</p>
</div>
<section class="area-principal">
<div>
<canvas width="1000" height="500"></canvas>
</div>
<form id="form">
<input type="text" class="input" />
</form>
<div class="container-letras">
<div id="letra0" class="letras"></div>
<div id="letra1" class="letras"></div>
<div id="letra2" class="letras"></div>
<div id="letra3" class="letras"></div>
<div id="letra4" class="letras"></div>
<div id="letra5" class="letras"></div>
<div id="letra6" class="letras"></div>
<div id="letra7" class="letras"></div>
</div>
<div class="display-letras-erradas"></div>
<div class="buttons-pag-game">
<a href="game.html">
<input
type="submit"
value="Nuevo Juego"
class="button"
id="button-novo-jogo"
/>
</a>
<a href="index.html">
<input
type="submit"
value="Inicio"
class="button"
id="button-desistir"
/>
</a>
</div>
</section>
</main>
<footer class="footer">
<p>© Copyright-2022 LLS ready2devs</p>
<ul>
<li>
<a href="https://www.linkedin.com/in/luciano-leandro-sica-38b40615/"
><img src="img/linkedin.png" class="link"
/></a>
</li>
<li>
<a href="https://github.com/ready2devs"
><img src="img/github.png" class="link"
/></a>
</li>
</ul>
</footer>
<!--Importação dos Javascripts AQUI -->
<script src="js/main.js"></script>
<script src="js/canvas.js"></script>
<script src="js/show_letters.js"></script>
<script src="js/show_msg_winner_loser.js"></script>
<script src="js/validate_input.js"></script>
<script src="js/start_game.js"></script>
</body>
</html>