-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
150 lines (142 loc) · 6.7 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
<!DOCTYPE html>
<html lang="en">
<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/forcaico.svg" type="image/x-icon">
<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=Oswald:wght@200;300;400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./style.css">
<title>Jogo da Forca</title>
</head>
<body>
<header class="header">
<img class="logo" src="./assets/logo.svg" alt="logo">
</header>
<main class="home" id="home">
<div class="home-container">
<h1 class="title">Jogo da Forca</h1>
<button class="play-btn" id="playBtn">Jogar</button>
<button class="add-word-btn" id="addWordBtn">Adicionar Palavra</button>
</div>
</main>
<section class="game" id="game">
<img src="./assets/forca.png" alt="forca" class="hangman" id="hangman">
<div class="btns">
<button class="giveup" id="giveUp" tabindex="-1">Desistir</button>
</div>
<div class="hearts" id="hearts">
<img src="./assets/heart.png" alt="heart" class="heart">
<img src="./assets/heart.png" alt="heart" class="heart">
<img src="./assets/heart.png" alt="heart" class="heart">
<img src="./assets/heart.png" alt="heart" class="heart">
<img src="./assets/heart.png" alt="heart" class="heart">
<img src="./assets/heart.png" alt="heart" class="heart">
</div>
<div class="board" id="board">
<span class="tip" id="tip">Animal</span>
<div class="word" id="word">
<div class="word-enabled"><p class="letter active">A</p></div>
<div class="word-enabled"><p class="letter active">L</p></div>
<div class="word-disabled"><p class="letter">U</p></div>
<div class="word-enabled"><p class="letter active">R</p></div>
<div class="word-enabled"><p class="letter active">A</p></div>
<div class="word-enabled"><p class="letter active">A</p></div>
<div class="word-enabled"><p class="letter active">A</p></div>
<div class="word-enabled"><p class="letter active">A</p></div>
<div class="word-enabled"><p class="letter active">A</p></div>
<div class="word-enabled"><p class="letter active">A</p></div>
</div>
<div class="keys" id="keys">
<div class="key"><p>B</p></div>
<div class="key"><p>J</p></div>
<div class="key"><p>O</p></div>
<div class="key"><p>Q</p></div>
<div class="key"><p>N</p></div>
<div class="key"><p>T</p></div>
<div class="key"><p>W</p></div>
<div class="key"><p>H</p></div>
</div>
<div class="description">
<h6>Use as teclas do teclado para achar as letras da palavra</h6>
</div>
<div class="mobile-keyboard" id="mobile-keyboard">
<div class="first-keys">
<div class="key"><p>Q</p></div>
<div class="key"><p>W</p></div>
<div class="key"><p>E</p></div>
<div class="key"><p>R</p></div>
<div class="key"><p>T</p></div>
<div class="key"><p>Y</p></div>
<div class="key"><p>U</p></div>
<div class="key"><p>I</p></div>
<div class="key"><p>O</p></div>
<div class="key"><p>P</p></div>
</div>
<div class="second-keys">
<div class="key"><p>A</p></div>
<div class="key"><p>S</p></div>
<div class="key"><p>D</p></div>
<div class="key"><p>F</p></div>
<div class="key"><p>G</p></div>
<div class="key"><p>H</p></div>
<div class="key"><p>J</p></div>
<div class="key"><p>K</p></div>
<div class="key"><p>L</p></div>
</div>
<div class="third-keys">
<div class="key"><p>Z</p></div>
<div class="key"><p>X</p></div>
<div class="key"><p>C</p></div>
<div class="key"><p>V</p></div>
<div class="key"><p>B</p></div>
<div class="key"><p>N</p></div>
<div class="key"><p>M</p></div>
</div>
</div>
</div>
</section>
<section class="add-word" id="addWord">
<div class="add-word-container">
<h1>Adicione sua palavra</h1>
<input type="text" class="word-added" id="wordAdded" placeholder="Digite sua palavra" maxlength="10">
<h6>Palavra: Maximo de dez letras</h6>
<input type="text" class="tip-added" id="tipAdded" placeholder="Dica">
<div class="add-word-buttons">
<button class="word-save" id="wordSave">Salvar</button>
<button class="word-back" id="wordBack">Voltar</button>
</div>
</div>
</section>
<section class="game-result">
<div class="game-lost" id="game-lost">
<div class="game-lost-phrase">
<p>Não desista! Comece um novo jogo</p>
</div>
<div class="game-lost-result">
<h1>Você Perdeu!</h1>
</div>
<button class="new-game" id="newGameLost" tabindex="-1">Novo Jogo</button>
</div>
<div class="game-win" id="game-win">
<div class="game-win-phrase">
<p>Parabens! Comece um novo jogo</p>
</div>
<div class="game-win-result">
<h1>Você Ganhou!</h1>
</div>
<button class="new-game" id="newGameWin" tabindex="-1">Novo Jogo</button>
</div>
</section>
<footer class="footer" id="footer">
<h3>Desenvolvido por Matheus Kristman</h3>
<div class="social">
<a href="https://github.com/MatheusKristman" class="github"><img src="./assets/github.svg" alt="github" class="github-image"></a>
<a href="https://www.linkedin.com/in/matheus-kristman-07a947171/" class="linkedin"><img src="./assets/linkedin.svg" alt="linkedin" class="linkedin-image"></a>
</div>
</footer>
<script src="./script.js"></script>
</body>
</html>