-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
49 lines (43 loc) · 1.61 KB
/
Copy pathindex.html
File metadata and controls
49 lines (43 loc) · 1.61 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="./styles/style.css" />
<title>Last Light</title>
</head>
<body>
<main>
<div id="game-intro">
<img src="./images/logo.png" alt="game-logo" class="logo-img" />
<br />
<button id="start-button">Start Game</button>
<p>Use the arrows to move the crosshair and the "Space" key to shoot to your enemies!</p>
<img id="arrows" src="./images/arrows.png" alt="keyboard-arrows" class="arrows-img" />
<div id="space">
<img src="./images/spaceBar.png" alt="space-bar" class="space-bar-img" />
</div>
</div>
<div id="game-container">
<div>
<h2>Stats</h2>
<p>Score: <span id="score">0</span></p>
<p>Lives: <span id="lives">3</span></p>
</div>
<div id="game-screen"></div>
</div>
<div id="game-end">
<img src="./images/logo.png" alt="game-logo" class="logo-img" />
<h1>Game Over</h1>
<br />
<button id="restart-button">Restart</button>
</div>
</main>
<script type="text/javascript" src="js/bullet.js"></script>
<script type="text/javascript" src="js/crosshair.js"></script>
<script type="text/javascript" src="js/enemy.js"></script>
<script type="text/javascript" src="js/game.js"></script>
<script type="text/javascript" src="js/player.js"></script>
<script type="text/javascript" src="js/script.js"></script>
</body>
</html>