-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (62 loc) · 2.67 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Azerothian Guess</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>Azerothian Guess</h1>
<div id="game-container">
<div id="score">Score: 0</div>
<div id="streak">Streak: 0</div>
<div id="hangman-container">
<div class="hangman-part" id="gallows"></div>
<div class="hangman-part" id="head"></div>
<div class="hangman-part" id="body"></div>
<div class="hangman-part" id="left-arm"></div>
<div class="hangman-part" id="right-arm"></div>
<div class="hangman-part" id="left-leg"></div>
<div class="hangman-part" id="right-leg"></div>
</div>
<div id="word-display"></div>
<div id="message"></div>
<div id="letters">
<div class="keyboard-row" id="row1"></div>
<div class="keyboard-row" id="row2"></div>
<div class="keyboard-row" id="row3"></div>
</div>
<div id="wrong-guesses"></div>
</div>
<!-- Instructions Modal -->
<div id="instructions-modal" class="modal">
<div class="modal-content">
<span class="close-button">×</span>
<h2>How to Play Azerothian Guess</h2>
<p>Welcome to Azerothian Guess! Here are the instructions:</p>
<ul>
<li>This is not Wordle™, this is a hangman-style game.</li>
<li>Each day, a new word from the World of Warcraft universe is selected.</li>
<li>Guess the word by selecting letters or typing them on your keyboard.</li>
<li>Each letter you pick is a guess. You can get 6 letters wrong before you lose.</li>
<li>Earn points for each correct guess and extra points for guessing the whole word.</li>
<li>Your score and streak are saved in your browser and persist across sessions.</li>
<li>If you guess incorrectly too many times, you lose the game for the day.</li>
</ul>
<button id="start-game">Start Game</button>
</div>
</div>
<!-- End Game Modal -->
<div id="end-game-modal" class="modal">
<div class="modal-content">
<span class="close-button" id="end-game-close-button">×</span>
<h2>Game Over</h2>
<p id="end-game-message"></p>
<textarea id="end-game-copy-pasta" readonly></textarea>
<button id="copy-to-clipboard">Copy to Clipboard</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>