-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
68 lines (61 loc) · 2 KB
/
index.html
File metadata and controls
68 lines (61 loc) · 2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Aimer</title>
<link rel="stylesheet" href="style/style.css">
<link rel="icon" type="image/png" href="/img/favicon.png">
</head>
<body>
<header>
<div id="logo"></div>
<h1>Aimer</h1>
</header>
<main>
<div id="start-screen">
<label for="player-name-input">Player name:</label>
<input type="text" id="player-name-input" value="Player" />
<label for="difficulty">Difficulty:</label>
<select id="difficulty">
<option value="easy">Easy</option>
<option value="medium">Medium</option>
<option value="hard">Hard</option>
</select>
<button id="start-button">Start</button>
<h3>Highscores</h3>
<table id="highscores-table" border="1">
<thead>
<tr>
<th>Player</th>
<th>Score</th>
<th>Time Left (s)</th>
<th>Lives Left</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</div>
<div id="game-screen" style="display:none;">
<div id="hud">
<span id="score">Score: 0</span>
<span id="lives">Lives: 3</span>
<span id="timer">Time: 60</span>
</div>
<div id="game-board"></div>
</div>
<div id="end-screen" style="display:none;">
<h2>Game Over</h2>
<p id="final-score">Score: </p>
<p id="final-lives">Lives left: </p>
<p id="final-time">Time left: </p>
<button id="restart-button">Restart</button>
</div>
</main>
<footer>
© Game by Hubert Jucha
</footer>
<script src="script.js"></script>
</body>
</html>