generated from hi337/Canvas-Game-Template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
46 lines (46 loc) · 1.08 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
<!DOCTYPE html>
<html>
<head>
<title>SpaceDodger Game</title>
<link rel="stylesheet" href="styles.css" />
<link
type="image/png"
sizes="16x16"
rel="icon"
href="./img/icons8-joystick-ios-16-16.png"
/>
<link
type="image/png"
sizes="32x32"
rel="icon"
href="./img/icons8-joystick-ios-16-32.png"
/>
<link
type="image/png"
sizes="96x96"
rel="icon"
href="../img/icons8-joystick-ios-16-96.png"
/>
<script defer src="main.js"></script>
<script defer src="components.js"></script>
<meta
name="viewport"
content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height"
/>
</head>
<body onload="startGame()">
<div
style="
border: 2px black solid;
display: none;
justify-content: center;
align-items: center;
flex-direction: column;
"
id="play_screen"
class="play_screen"
>
<button onclick="endPause()">Play</button>
</div>
</body>
</html>