-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
138 lines (110 loc) · 4.81 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
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>DUCK HUNT By KRITIKA</title>
<!-- favion.ico-->
<link rel="shortcut icon" href="./images/sample.png" type="image/x-icon"/>
<link rel="stylesheet" type="text/css" href="style.css"/>
<script src="build/libs.min.js"></script>
<script src="build/duckhunt.min.js"></script>
<script src="main.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Frijole&display=swap" rel="stylesheet">
<script src='https://kit.fontawesome.com/a076d05399.js' crossorigin='anonymous'></script>
<link href="https://fonts.googleapis.com/css2?family=Creepster&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap" rel="stylesheet">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Titillium+Web:wght@900&display=swap" rel="stylesheet">
</head>
<body>
<div id="header" class="header"><h1> <span class="hhh">DUCK HUNT</span> <br/><small>Now with a with level creator!</small></h1></div>
<div class="topMenu">
<div id="mute" class="mute">Mute <i class="fas fa-volume-mute" style='font-size:24px'></i></div>
<a href="./template.html"><div id="inst" class="inst" >Instructions <i class="fas fa-volume-mute" style='font-size:24px'></i></div>
</a>
<div id="gameField" class="gameField">
<div id="game" class="game">
<div id="theFlash" class="theFlash"></div>
<div id="tree" class="tree"></div>
<div id="grass" class="grass"></div>
</div>
<div class="gameinfo ammo" id="ammo"></div>
<div class="gameinfo waves" id="waves"></div>
<div class="gameinfo duckBoard" id="duckBoard"></div>
<div class="gameinfo scoreboard" id="scoreboard"></div>
<div id="loser" class="messages loser">
You Lost!
<br/><br/>
<div class="tryAgain">Try Again</div>
</div>
<div id="winner" class="messages winner">
Winner Winner Chicken Dinner!
</div>
<div id="level" class="messages level">
Level 1
</div>
</div>
<div id="levelCreate" class="levelCreator"><br/>
<strong>Level Creator - Customize your levels: </strong><br/>
<br> Starting Ducks: <input name="LCducks" class="jj" id="LCducks" size="5" type="text" value="2"/>
<br>Starting Bullets: <input type="text" name="LCbullets" class="jj" id="LCbullets" size="5" value="4"/>
<br> Waves: <input id="LCwaves" name="LCwaves" size="5" class="jj" type="text" value="1"/>
<br>Wave Time (sec): <input type="text" name="LCwavetime" class="jj" id="LCwavetime" size="5" value="10"/>
<br> Difficulty: <input type="text" name="LCdif" id="LCdif" class="jj" size="5" value="5"/>
<br>
<br>
<br>
<div id="doit" class="doit">Lets Start The Game</div>
<div id="info"></div>
<audio class="sounds" id="gunSound" preload="auto">
<source type="audio/ogg" src="sounds/gunSound.ogg"/>
<source type="audio/mp3" src="sounds/gunSound.mp3"/>
</audio>
<audio class="sounds" id="gunSound2" preload="auto">
<source type="audio/ogg" src="sounds/gunSound2.ogg"/>
<source type="audio/mp3" src="sounds/gunSound2.mp3"/>
</audio>
<audio class="sounds" id="laugh" preload="auto">
<source type="audio/ogg" src="sounds/laugh.ogg"/>
<source type="audio/mp3" src="sounds/laugh.mp3"/>
</audio>
<audio class="sounds" id="quak" preload="auto">
<source type="audio/ogg" src="sounds/quak.ogg"/>
<source type="audio/mp3" src="sounds/quak.mp3"/>
</audio>
<audio class="sounds" id="thud" preload="auto">
<source type="audio/ogg" src="sounds/thud.ogg"/>
<source type="audio/mp3" src="sounds/thud.mp3"/>
</audio>
<audio class="sounds" id="ohyeah" preload="auto">
<source type="audio/ogg" src="sounds/ohYeah.ogg"/>
<source type="audio/mp3" src="sounds/ohYeah.mp3"/>
</audio>
<audio class="sounds" id="quacking" loop="loop">
<source type="audio/ogg" src="sounds/quacking.ogg"/>
<source type="audio/mp3" src="sounds/quacking.mp3"/>
</audio>
<audio class="sounds" id="sniff" preload="auto">
<source type="audio/ogg" src="sounds/sniff.ogg"/>
<source type="audio/mp3" src="sounds/sniff.mp3"/>
</audio>
<audio class="sounds" id="bark" preload="auto">
<source type="audio/ogg" src="sounds/barkDucks.ogg"/>
<source type="audio/mp3" src="sounds/barkDucks.mp3"/>
</audio>
<audio class="sounds" id="victory" preload="auto">
<source type="audio/ogg" src="sounds/champ.ogg"/>
<source type="audio/mp3" src="sounds/champ.mp3"/>
</audio>
<audio class="sounds" id="defeat" preload="auto">
<source type="audio/ogg" src="sounds/loserSound.ogg"/>
<source type="audio/mp3" src="sounds/loserSound.mp3"/>
</audio>
<div class="foott">
<p>Made By- Kritika Bansal
</p>
</div>
</body>
</html>