-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
27 lines (27 loc) · 871 Bytes
/
index.html
File metadata and controls
27 lines (27 loc) · 871 Bytes
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
<html>
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles/normalize.css">
<link rel="stylesheet" href="styles/style.css">
<link href='https://fonts.googleapis.com/css?family=Kdam Thmor Pro' rel='stylesheet'>
</head>
<body>
<div id="container">
<h1 id="title">Galactic Battlez</h1>
<p>A HTML, CSS & javascript project</p>
<div>
<button id="Player" onClick="player.spawn()">Spawn Player</button>
<button id="Enemy" onClick="gameStart()">Start Game</button>
<button id="Enemy" onClick="spawnRandomEnemy()">Spawn Enemy</button>
<p>Health: <span id="health">0</span> Lives: <span id="lives">3</span></p>
</div>
<div id="divider">
<div id="grid">
<!-- JavaScript generates grid here -->
</div>
</div>
</div>
<h1 id="score">Score: <span id="scount">0</span></h1>
<script src="scripts/scripts.js"></script>
</body>
</html>