-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
47 lines (47 loc) · 1.63 KB
/
index.html
File metadata and controls
47 lines (47 loc) · 1.63 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
<!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="stylesheet" href="index.css">
<title>刽子手游戏</title>
</head>
<body>
<h1>刽子手游戏</h1>
<p>寻找隐藏单词——输入一个字母</p>
<div class="game-container">
<svg class="figure-container" width="200" height="250">
<line x1="60" y1="20" x2="140" y2="20"/>
<line x1="60" y1="20" x2="60" y2="230"/>
<line x1="140" y1="20" x2="140" y2="50"/>
<line x1="20" y1="230" x2="100" y2="230"/>
<!-- Head -->
<circle cx="140" cy="70" r="20" class="figure-part" />
<!-- Body -->
<line x1="140" y1="90" x2="140" y2="150" class="figure-part" />
<!-- Arms -->
<line x1="140" y1="120" x2="120" y2="100" class="figure-part" />
<line x1="140" y1="120" x2="160" y2="100" class="figure-part" />
<!-- Legs -->
<line x1="140" y1="150" x2="120" y2="180" class="figure-part" />
<line x1="140" y1="150" x2="160" y2="180" class="figure-part" />
</svg>
<div class="wrong-letters-container" id="wrong-letters">
</div>
<div class="word-container" id="word">
</div>
<div class="popup-container">
<div class="popup">
<h2 id="final-message"></h2>
<h3 id="final-word"></h3>
<button id="paly-button">Play Again</button>
</div>
</div>
</div>
<div class="notification-container" id="notification-container">
<p>You have already entered this letter</p>
</div>
<script src="index.js"></script>
</body>
</html>