forked from kbs5280/game-time
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
38 lines (38 loc) · 1.07 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Game Time</title>
<link href="style.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Bangers" rel="stylesheet">
</head>
<body>
<div id="start-screen">
<h1>Welcome to UFO</h1>
<p>
Press play to start. <br><br>
Press the space bar to ascend and release to descend. <br><br>
Hit stars to gain bonus points.<br><br>
Avoid asteroids to stay alive and win! <br><br>
</p>
<input class="button" type="button" id="start-button" value="start">
</div>
<div id="end-screen">
<h1>Game Over!</h1>
<input class="button" type="button" id="replay-button" value="replay">
<ol id='game-over-top-scores'>
</ol>
</div>
<div id="win-screen">
<h1>You won!!!</h1>
<input class="button" type="button" id="restart-button" value="restart">
<ol id='you-won-top-scores'>
</ol>
</div>
<canvas id="game"
class="game-canvas"
width="1260px"
height="580px"></canvas>
<script src="main.bundle.js"></script>
</body>
</html>