-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
51 lines (43 loc) · 1.59 KB
/
index.html
File metadata and controls
51 lines (43 loc) · 1.59 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
50
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="description" content="Asteroids : ">
<script src='./lib/util.js'></script>
<script src='./lib/movingObject.js'></script>
<script src='./lib/asteroid.js'></script>
<script src='./lib/ship.js'></script>
<script src='./lib/bullet.js'></script>
<script src='./lib/game.js'></script>
<script src='./lib/gameView.js'></script>
<script src='./vendor/keymaster.js'></script>
<link rel="stylesheet" type="text/css" media="screen" href="stylesheets/stylesheet.css">
<title>Asteroids</title>
</head>
<body>
<!-- HEADER -->
<div id="header_wrap" class="outer">
<header class="inner">
<a id="forkme_banner" href="https://github.com/aaron-coding/Asteroids">View on GitHub</a>
<h1 id="project_title">Asteroids</h1>
<h4>Use the Arrow Keys to move, Spacebar to fire.</h4>
</header>
</div>
<div class="main-game-wrapper">
<canvas style="border-style: solid; border-width: 1px" id="canvas" width="900" height="650" id="canvas"></canvas>
</div>
<script>
var canvas = document.getElementById('canvas');
var b = new Asteroids.GameView(canvas)
b.start()
</script>
<!-- FOOTER -->
<div id="footer_wrap" class="outer">
<footer class="inner">
<p class="copyright">Asteroids maintained by <a href="http://www.aaroncordovez.com">Aaron Cordovez</a></p>
<!-- Made with GitHub Pages-->
</footer>
</div>
</body>
</html>