-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
149 lines (141 loc) · 5.94 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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<!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="style.css">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap-theme.min.css"
integrity="sha384-6pzBo3FDv/PJ8r2KRkGHifhEocL+1X2rVCTTkUfGk7/0pbek5mMa1upzvWbrUbOZ" crossorigin="anonymous">
<title>NOVA OVERRIDE</title>
</head>
<body>
<canvas></canvas>
<div class="container-fluid on-screen-display" id="display">
<div class="row">
<div class="col-md-2" id="game_name">
<h3 style="font-weight: 800 !important; font-size: 35px;">NOVA OVERRIDE</h3>
</div>
<div class="col-md-10">
<div class="container-fluid ">
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-2">
<H3>HEALTH</H3>
</div>
<div class="col-md-2"></div>
<div class="col-md-2" id="">
<H3>score</H3>
</div>
<div class="col-md-2" id="">
<H3>kills</H3>
</div>
<div class="col-md-2" id="">
<H3>wave</H3>
</div>
</div>
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-2 healthbar">
<div class="col-md-4 health" id="1"></div>
<div class="col-md-4 health" id="2"></div>
<div class="col-md-4 health" id="3"></div>
</div>
<div class="col-md-2"></div>
<div class="col-md-2">
<H3 id="score">score</H3>
</div>
<div class="col-md-2">
<H3 id="kills">kills</H3>
</div>
<div class="col-md-2">
<H3 id="wave">wave</H3>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="condainer-fluid wave-display" id="wavedisplay">
<div class="row">
<div class="col-lg-12">
<H1 style="font-size: 200px;" id="whichwave"></H1>
</div>
</div>
</div>
<div class="condainer-fluid keyboard-display" id="keyboard">
<div class="row">
<div class="col-md-4 controls">
^ or W: FORWARD THRUST<br>
< or A: LEFT TURN<br>
> or D: RIGHT TURN<br>
v or S: BRAKE<br>
 space: SHOOT<br>
     C: HIDE CONTROLS<br>
     O: HIDE OVERLAY
</div>
<div class="col-sm-4"></div>
<div class="col-md-4"></div>
</div>
</div>
<div class="game-over container-fluid" id="gameover">
<div class="row">
<div class="col-lg-12 spacer-top"></div>
</div>
<div class="row">
<div class="col-lg-12 spacer-top"></div>
</div>
<div class="row">
<div class="col-lg-12 spacer-top"></div>
</div>
<div class="row">
<div class="row-md-12 final-text">
<h1>GAME OVER</h1>
<h3>FINAL SCORE</h3>
<h1 style="font-weight: 800!important;padding-top: 10px" id="finalscore"></h1>
<br><br>
<button type="button" class="reset-button" onClick="window.location.reload();" id="resetButton">PLAY
AGAIN</button>
</div>
</div>
</div>
<div class="level-up container-fluid" id="levelup">
<div class="row">
<div class="col-lg-12 spacer-top"></div>
</div>
<div class="row">
<div class="col-lg-12 spacer-top"></div>
</div>
<div class="row">
<div class="col-lg-12 spacer-top"></div>
</div>
<div class="row">
<div class="col-md-12 final-text">
<h1>WAVE COMPLETE</h1>
<h1 style="font-weight: 800!important;padding-top: 10px" id="finalscore"></h1>
<br><br>
<div class="row">
<div class="col-lg-5"></div>
<div class="col-lg-1" onClick="" id="resetButton"><h4>UPGRADE</h4></div>
<div class="col-lg-1" onClick="nextWave();" id="resetButton"><h4>CONTINUE</h4></div>
</div>
</div>
</div>
</div>
<script>
/** @type {HTMLCanvasElement} */
var canv = document.getElementById("gameCanvas");
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1"
crossorigin="anonymous"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<script src="https://code.jquery.com/jquery-3.1.0.min.js"></script>
<script src="script.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"
integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"
crossorigin="anonymous"></script>
</body>
</html>