-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
43 lines (39 loc) · 1.83 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ZOMBIE SLAYER</title>
<link rel="stylesheet" type="text/css" href="./css/zombieslayer.css">
</head>
<body>
<div class="container">
<canvas class="view"></canvas>
</div>
<script type="application/javascript" src="vendor/jquery-2.1.1.js"></script>
<script type="application/javascript" src="lib/util.js"></script>
<script type="application/javascript" src="lib/movingObject.js"></script>
<script type="application/javascript" src="lib/powerupObject.js"></script>
<script type="application/javascript" src="lib/zombie.js"></script>
<script type="application/javascript" src="lib/human.js"></script>
<script type="application/javascript" src="lib/healthUp.js"></script>
<script type="application/javascript" src="lib/nuke.js"></script>
<script type="application/javascript" src="lib/bullet.js"></script>
<script type="application/javascript" src="lib/poolOfBlood.js"></script>
<script type="application/javascript" src="lib/skeleton.js"></script>
<script type="application/javascript" src="lib/gameover.js"></script>
<script type="application/javascript" src="lib/game.js"></script>
<script type="application/javascript" src="lib/gameView.js"></script>
<script type="application/javascript" src="lib/instructions.js"></script>
<script type="application/javascript" src="lib/characterSelect.js"></script>
<script type="application/javascript" src="lib/menuView.js"></script>
<script type="application/javascript">
(function () {
var canvasEl = document.getElementsByTagName("canvas")[0];
canvasEl.width = 795;
canvasEl.height = 795;
var ctx = canvasEl.getContext("2d");
new ZombieSlayer.MenuView({ ctx: ctx }).start();
})();
</script>
</body>
</html>