-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
29 lines (24 loc) · 835 Bytes
/
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
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Space Invasion</title>
<link rel="stylesheet" href="css/style.css">
<script src="https://code.jquery.com/jquery-1.12.4.js" ></script>
<link href="https://fonts.googleapis.com/css?family=Press+Start+2P" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.5.2/animate.min.css">
</head>
<body>
<section id="game">
<aside id="touch-controls">
<div data-action="move-left"></div>
<div data-action="fire" style="flex: 3;"></div>
<div data-action="move-right"></div>
</aside>
<canvas id="myCanvas" width="1260" height= "640">
</canvas>
</section>
<script type="text/javascript" src="js/script.js"></script>
</body>
</html>