-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (58 loc) · 1.93 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1.0" />
<title>Wordle Game</title>
<link
rel="stylesheet"
href="style.css" />
<link
rel="stylesheet"
href="gmalert.min.css" />
</head>
<body>
<div class="game-container">
<div
id="board"
class="board"></div>
<div class="keyboard">
<input
type="text"
id="wordInput"
autofocus
title="Enter the word to guess" />
<button id="submitWord" title="Submit the word">Submit</button>
</div>
<br />
<hr />
<br />
<div class="config">
<div>
<span>Word Length:</span>
<input
type="number"
id="wordLength"
value="5"
min="1"
max="10"
disabled
title="This feature is disabled due to the current dictonary file only contains words of length 5" />
<span>Max Guesses:</span>
<input
type="number"
id="maxAttempts"
value="6"
min="1"
max="10"
title="How many times the player can guess the word before losing the game" />
</div>
<button id="newGame" title="Start a new game with the current settings">Start a New Game</button>
</div>
</div>
<script src="gmalert.min.js"></script>
<script src="script.js"></script>
</body>
</html>