-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
71 lines (63 loc) · 2.43 KB
/
Copy pathindex.html
File metadata and controls
71 lines (63 loc) · 2.43 KB
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
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Jogo da Forca</title>
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<header class="header">
<h1 class="title">Forca</h1>
<button id="new-game-btn" class="btn-outline">Novo Jogo</button>
</header>
<div class="hint-pill">
<span class="hint-label">Tema</span>
<span id="hint-text"></span>
</div>
<svg id="hangman-svg" class="gallows-svg" viewBox="0 0 200 250" xmlns="http://www.w3.org/2000/svg">
<g class="gallows-frame">
<line x1="10" y1="240" x2="190" y2="240"/>
<line x1="50" y1="240" x2="50" y2="10"/>
<line x1="50" y1="10" x2="150" y2="10"/>
<line x1="150" y1="10" x2="150" y2="45"/>
</g>
<g class="hangman-body">
<circle id="p-head" cx="150" cy="63" r="18"/>
<line id="p-body" x1="150" y1="81" x2="150" y2="152"/>
<line id="p-larm" x1="150" y1="106" x2="117" y2="134"/>
<line id="p-rarm" x1="150" y1="106" x2="183" y2="134"/>
<line id="p-lleg" x1="150" y1="152" x2="117" y2="198"/>
<line id="p-rleg" x1="150" y1="152" x2="183" y2="198"/>
</g>
</svg>
<div class="wrong-area">
<span class="wrong-label">Erradas:</span>
<div id="wrong-letters" class="wrong-letters"></div>
</div>
<div id="word-display" class="word-display"></div>
<div id="keyboard" class="keyboard"></div>
<section class="history-section">
<div class="history-header">
<span class="history-title">Histórico</span>
<span id="history-stats" class="history-stats"></span>
</div>
<div id="history-list" class="history-list">
<p class="history-empty">Nenhuma partida ainda.</p>
</div>
</section>
</div>
<div id="overlay" class="overlay hidden">
<div class="overlay-card">
<span id="overlay-icon" class="overlay-icon"></span>
<p id="overlay-msg" class="overlay-msg"></p>
<p id="overlay-word" class="overlay-word"></p>
<p id="overlay-time" class="overlay-time"></p>
<button id="overlay-btn" class="btn-primary">Jogar Novamente</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>