-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
228 lines (220 loc) · 14.8 KB
/
index.html
File metadata and controls
228 lines (220 loc) · 14.8 KB
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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Hotdogger.io">
<meta name="description" content="A idle clicker game modeled after the wildly popular cookie clicker.">
<meta name="keywords" content="idle game, clicker game, hot dogs, browser game">
<meta name="robots" content="index, follow">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="language" content="English">
<link rel="stylesheet" href="styles/normalize.css">
<link rel="stylesheet" href="styles/styles.css">
<link rel="stylesheet" href="styles/stories.css">
<link href="https://fonts.googleapis.com/css?family=Fredoka+One&display=swap" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="favicon/favicon.ico" type="image/x-icon">
<title>Hot Dogger</title>
<script src="js/hotdogger.js" defer></script>
<script src="js/hotdogCanvas.js" defer></script>
</head>
<body>
<header class="banner">
<h1>HOT D<a href="#!" id="eat" class="no-select">O</a>GGER</h1>
<!-- <div class="login"><a href="construction.html">Sign In</a><span class="yellow-text"> | </span><a href="construction.html">Sign Up</a></div> -->
</header>
<div class="wrapper">
<div class="score-sheet">
<div class="score-grid scores-one">Multipler: <span id="condiment-multi">1</span></div>
<!-- <div class="score-grid scores-two">Dogs eaten: <span id="eaten">0</span></div> -->
<div class="score-grid scores-three">Clicks: <span id="total-clicks">0</span></div>
<div class="score-grid scores-four">Total Dogs: <span id="total">0.00</span></div>
</div>
<div class="flex-wrapper">
<div class="left-col">
<a href="#" class="bottle-parent ketchup no-select" id="ketchup-click">
<div class="cost">cost: <span id="ketchup-cost">1</span></div>
<div class="bot-text">Ketchup</div>
<div id="ketchup-score" class="score">0</div>
<div class="bot-image" ></div>
<div class="bot-waves" id="ketchup-background">
<div class="wave-header">
<div class="inner-header flex"></div>
<div>
<svg class="waves" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 24 150 28" preserveAspectRatio="none" shape-rendering="auto">
<defs>
<path id="gentle-wave" d="M-160 44c30 0 58-18 88-18s 58 18 88 18 58-18 88-18 58 18 88 18 v44h-352z" />
</defs>
<g class="parallax">
<use xlink:href="#gentle-wave" x="48" y="0" fill="rgba(255,0,0,0.7" />
<use xlink:href="#gentle-wave" x="48" y="3" fill="rgba(255,0,0,0.5)" />
<use xlink:href="#gentle-wave" x="48" y="5" fill="rgba(255,0,0,0.3)" />
<use xlink:href="#gentle-wave" x="48" y="7" fill="red" />
</g>
</svg>
</div>
</div>
</div>
</a> <!-- ketchup close -->
<a href="#" class="bottle-parent mustard no-select" id="mustard-click">
<div class="cost">cost: <span id="mustard-cost">2</span></div>
<div class="bot-text">Mustard</div>
<div id="mustard-score" class="score">0</div>
<div class="bot-image"></div>
<div class="bot-waves" id="mustard-background">
<div class="wave-header">
<div class="inner-header flex"></div>
<div>
<svg class="waves" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 24 150 28" preserveAspectRatio="none" shape-rendering="auto">
<defs>
<path id="gentle-wave" d="M-160 44c30 0 58-18 88-18s 58 18 88 18 58-18 88-18 58 18 88 18 v44h-352z" />
</defs>
<g class="parallax">
<use xlink:href="#gentle-wave" x="48" y="0" fill="rgba(249,231,33,0.7)" />
<use xlink:href="#gentle-wave" x="48" y="3" fill="rgba(249,231,33,0.5)" />
<use xlink:href="#gentle-wave" x="48" y="5" fill="rgba(249,231,33,0.3)" />
<use xlink:href="#gentle-wave" x="48" y="7" fill="rgba(249,231,33,1.0)" />
</g>
</svg>
</div>
</div>
</div>
</a> <!-- mustard-col close -->
<a href="#" class="bottle-parent relish no-select" id="relish-click">
<div class="cost">cost: <span id="relish-cost">3</span></div>
<div class="bot-text">Relish</div>
<div id="relish-score" class="score">0</div>
<div class="bot-image"></div>
<div class="bot-waves" id="relish-background">
<div class="wave-header">
<div class="inner-header flex"></div>
<div>
<svg class="waves" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 24 150 28" preserveAspectRatio="none" shape-rendering="auto">
<defs>
<path id="gentle-wave" d="M-160 44c30 0 58-18 88-18s 58 18 88 18 58-18 88-18 58 18 88 18 v44h-352z" />
</defs>
<g class="parallax">
<use xlink:href="#gentle-wave" x="48" y="0" fill="rgba(0,231,33,0.7)" />
<use xlink:href="#gentle-wave" x="48" y="3" fill="rgba(0,231,33,0.5)" />
<use xlink:href="#gentle-wave" x="48" y="5" fill="rgba(0,231,33,0.3)" />
<use xlink:href="#gentle-wave" x="48" y="7" fill="rgba(0,231,33,1.0)" />
</g>
</svg>
</div>
</div>
</div>
</a> <!-- relish-col close -->
<a href="#" class="bottle-parent bbq no-select" id="bbq-click">
<div class="cost">cost: <span id="bbq-cost">4</span></div>
<div class="bot-text">BBQ</div>
<div id="bbq-score" class="score">0</div>
<div class="bot-image"></div>
<div class="bot-waves" id="bbq-background">
<div class="wave-header">
<div class="inner-header flex"></div>
<div class="bbq-height">
<svg class="waves" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 24 150 28" preserveAspectRatio="none" shape-rendering="auto">
<defs>
<path id="gentle-wave" d="M-160 44c30 0 58-18 88-18s 58 18 88 18 58-18 88-18 58 18 88 18 v44h-352z" />
</defs>
<g class="parallax">
<use xlink:href="#gentle-wave" x="48" y="0" fill="rgba(180,45,0,0.7)" />
<use xlink:href="#gentle-wave" x="48" y="3" fill="rgba(180,45,0,0.5)" />
<use xlink:href="#gentle-wave" x="48" y="5" fill="rgba(180,45,0,0.5)" />
<use xlink:href="#gentle-wave" x="48" y="7" fill="rgba(180,45,0,1.0)" />
</g>
</svg>
</div>
</div>
</div>
</a> <!-- bbq-col close -->
<a href="#!" class="bottle-parent cheese no-select" id="cheese-click">
<div class="cost">cost: <span id="cheese-cost">10000</span></div>
<div class="bot-text">Cheese</div>
<div id="cheese-score" class="score">0</div>
<div class="bot-image"></div>
<div class="bot-waves" id="cheese-background">
<div class="wave-header">
<div class="inner-header flex"></div>
<div>
<svg class="waves" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 24 150 28" preserveAspectRatio="none" shape-rendering="auto">
<defs>
<path id="gentle-wave" d="M-160 44c30 0 58-18 88-18s 58 18 88 18 58-18 88-18 58 18 88 18 v44h-352z" />
</defs>
<g class="parallax">
<use xlink:href="#gentle-wave" x="48" y="0" fill="rgba(255,187,0,0.7)" />
<use xlink:href="#gentle-wave" x="48" y="3" fill="rgba(255,187,0,0.5)" />
<use xlink:href="#gentle-wave" x="48" y="5" fill="rgba(255,187,0,0.3)" />
<use xlink:href="#gentle-wave" x="48" y="7" fill="rgba(255,187,0,1.0)" />
</g>
</svg>
</div>
</div>
</div>
</a> <!-- cheese-col close -->
</div> <!-- left-col close -->
<div class="center-col" style="width: 200px; height:400px; position:relative">
<button id="dog-button" aria-label="image of giant hot dog" class="no-select" style="position:absolute;">
<canvas class="hotdog no-select" width="200" height="400" id="hotdog" alt="hotdog">
</button>
<!-- <img class="hotdog no-select" src="img/hotdog.png" alt="hotdog"> -->
</div> <!-- center-col close -->
<div class="right-col">
<a href="#" id="onions-click" class="click bottle-parent passive-upgrade no-select">
<div class="cost">cost: <span id="onions-cost">10</span></div>
<div class="passive-text onions-passive">Onions </br><span class="little-text">+one per second</span></div>
<div class="passive-score"><span id="onions-score">0</span></div>
<img class="cond" id="onions-background" src="img/onions.webp" alt="onions">
</a>
<a href="#" id="pickles-click" class="click bottle-parent passive-upgrade no-select">
<div class="cost">cost: <span id="pickles-cost">20</span></div>
<div class="passive-text pickles-passive">Pickles</br><span class="little-text">+two per second</span></div>
<div class="passive-score"><span id="pickles-score">0</span></div>
<img class="cond" id="pickles-background" src="img/pickles.webp" alt="pickles">
</a>
<a href="#" id="tomatoes-click" class="bottle-parent passive-upgrade no-select">
<div class="cost">cost: <span id="tomatoes-cost">50</span></div>
<div class="passive-text tomatoes-passive">Tomatoes</br><span class="little-text">+three per second</span></div>
<div class="passive-score"><span id="tomatoes-score">0</span></div>
<img class="cond" id="tomatoes-background" src="img/tomatoes.webp" alt="tomatoes">
</a>
<a href="#" id="peppers-click" class="bottle-parent passive-upgrade no-select">
<div class="cost">cost: <span id="peppers-cost">100</span></div>
<div class="passive-text peppers-passive">Peppers</br><span class="little-text">+four per second</span></div>
<div class="passive-score"><span id="peppers-score">0</span></div>
<img class="cond" id="peppers-background" src="img/peppers.webp" alt="peppers">
</a>
</div> <!-- right-col close -->
</div> <!--grid close-->
</div> <!--wrapper close-->
<footer class="footer">
<div class="footer-left">
v.032
<a href="changelog.html">(Changelog)</a>
<a class="mmlink" href="mistermustard.html" target="_blank" alt="mister mustard"></a>
</div>
<ul class="save-menu">
<li><a href="#!" class="reset" id="reset">reset</a></li>
<li><a href="#!" class="load" id="load">load</a></li>
<li><a href="#!" class="save" id="save">save</a></li>
</ul>
</footer>
<!-- Story Pop-ups -->
<div class="stories-grey" id="story-container">
<div class="stories-wrapper">
<img class="pig" width="500" height="300" src="img/pig.webp" alt="cartoon of a pig chef sharpening a knife">
<div class="stories-yellow">
<div id="story-box" class="story-box">
</div>
<a href="#" id="exit">Let's Go!</a>
</div>
</div>
</div>
</body>
</html>