-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
executable file
·54 lines (49 loc) · 1.7 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
47
48
49
50
51
52
53
54
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="styles.css">
<link href="favicon.ico" rel="icon" type="image/x-icon" />
<title>Village Guardians</title>
<!-- jQuery -->
<script src="jquery-3.2.1.min.js"></script>
<!-- Objects -->
<script src="objects/Player.js"></script>
<script src="objects/Monster.js"></script>
<script src="objects/Village.js"></script>
<script src="objects/Wall.js"></script>
<script src="objects/Highscore.js"></script>
<!-- Main -->
<script src="main.js"></script>
</head>
<body>
<div id="start" class="center">
<img class="logo bounce" src="./images/logo.png" />
<img class="btn player1" src="./images/player1.png" />
<img class="btn player2" src="./images/player2.png" />
<img class="audio" src="./images/audio-active.png" style="right: 318px; bottom: 33px;"/>
</div>
<div id="instructions" class="center">
<div class="relative">
<img src="./images/controls.png" />
<button class="gotit">play</button>
</div>
</div>
<div id="gameStarted" class="center">
<canvas id="game" width="640" height="480"></canvas>
<div id="sidebar">
<span id="player1score"></span><br>
<span id="player2score"></span><br>
<span id="villagehealth"></span>
<div id="highscore">0</div>
<img class="audio" src="./images/audio-active.png" />
</div>
<div id="gameover" class="center">
<img src="./images/gameover.png" />
<h1 class="winner"></h1>
</div>
</div>
</body>
</html>