-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
76 lines (75 loc) · 2.65 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
<title>Star Wars Invaders</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css">
</style>
</head>
<body>
<audio autoplay loop id="audio" volume="0.2" src="sounds/imperialmarch.mp3"></audio>
<audio id="shipLaser" src="sounds/shiplaser.wav"></audio>
<audio id="invaderDestroyed" src="sounds/invaderdestroyed.wav"></audio>
<audio id="shipDestroyed" src="sounds/shipdestroyed.wav"></audio>
<audio id="deathStarHit" src="sounds/deathstarthit.wav"></audio>
<div class="intro">
<span class="intro-title">STAR WARS</span>
<span class="intro-subtitle">INVADERS</span>
<div class="intro-invaders">
<ul>
<li><img src="images/invader3.png"/> = 10 points</li>
<li><img src="images/invader2.png"/> = 20 points</li>
<li><img src="images/invader1.png"/> = 30 points</li>
<li><img class="intro-deathStar" src="images/deathStar.png"/> = 60 points (each half)</li>
</ul>
</div>
<div class="intro-start blink_me">
<a href='#' onclick="startGame()">PLAY GAME</a>
</div>
</div>
<div class="game-wrapper">
<div class="lives">
<span class="lives-title">Lives</span>
<ul id="lives-ul">
<li><img src="images/ship.png"/></li>
<li><img src="images/ship.png"/></li>
</ul>
</div>
<div id="board" class="container"></div>
<div class="points">
<span class="points-title">Points</span>
<div class="points-total" >
0
</div>
</div>
</div>
</div>
<div id="feedbackModal" class="modal fade" role="dialog">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal">×</button>
<h4 class="modal-title">There's some disturbance in the Force.</h4>
</div>
<div id="feedbackModalBody" class="modal-body">
<p></p>
</div>
<div class="modal-footer">
<button id="feedbackModalButton" type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
<script src="js/jquery-2.1.4.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/deathStar.js"></script>
<script src="js/invaders.js"></script>
<script src="js/ship.js"></script>
<script src="js/laser.js"></script>
<script src="js/game.js"></script>
<script src="js/app.js"></script>
</body>
</html>