-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
offline.html
231 lines (229 loc) · 11.2 KB
/
offline.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
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
229
230
231
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>DAMN DOG</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Slab:100,400,300,700|Roboto:400,300,700,400italic">
<link rel="stylesheet" href="css/damn.css?v=2024-02-06T04:58:00.428Z">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="The guessing game for wikiHow illustrations.">
<meta http-equiv="last-modified" content="2024-02-06T04:58:00.428Z">
<link rel="canonical" href="https://damn.dog">
<!-- favicons-->
<link rel="icon" type="image/svg+xml" href="/favicon.svg">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png?v=2024">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png?v=2024">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png?v=2024">
<link rel="manifest" href="/manifest.json?v=2024">
<link rel="mask-icon" href="/safari-pinned-tab.svg?v=2024" color="#ab4444">
<link rel="shortcut icon" href="/favicon.ico?v=2024">
<meta name="apple-mobile-web-app-title" content="DAMN DOG">
<meta name="application-name" content="DAMN DOG">
<meta name="msapplication-TileColor" content="#222731">
<meta name="theme-color" content="#222730">
<!--social-->
<!-- Twitter-->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:creator" content="@AhoyLemon">
<meta name="twitter:title" content="DAMN DOG">
<meta name="twitter:description" content="The guessing game for wikiHow illustrations.">
<meta name="twitter:image" content="https://damn.dog/img/twitter-wide.png">
<meta name="twitter:url" content="https://damn.dog">
<!-- OpenGraph-->
<meta property="og:title" content="DAMN DOG">
<meta property="og:type" content="website">
<meta property="og:url" content="https://damn.dog">
<meta property="og:image" content="https://damn.dog/img/og-wide.png">
<meta property="og:image:width" content="1200">
<meta property="og:image:height" content="630">
<meta property="og:description" content="The guessing game for wikiHow illustrations.">
<meta property="og:email" content="[email protected]">
</head>
<body>
<div id="app">
<header>
<div class="inner score-holder">
<div class="box score-box" v-cloak v-if="player.score > 0"><span class="score label">score</span><span class="score number">{{player.score}}</span></div>
<div class="box percent-box" v-cloak v-if="scorePercent > 0"><span class="percent label">correct</span><span class="percent number" v-bind:class="{bad: scorePercent < averagePercent }">{{scorePercent}}%</span></div>
<div class="box hamburger-holder">
<button class="hamburger" v-on:click="drawerOpen = !drawerOpen" aria-label="Who made this site?">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100">
<circle class="fill" cx="50.6" cy="49.7" r="42"></circle>
<path class="outline" d="M50 96C24.6 96 4 75.4 4 50S24.6 4 50 4s46 20.6 46 46-20.6 46-46 46zm0-86.2C27.8 9.8 9.8 27.8 9.8 50s18 40.3 40.2 40.3S90.3 72.2 90.3 50 72.2 9.8 50 9.8z"></path>
<g class="open" id="HamburgerOpen">
<path class="question-mark" d="M47.6 58.9c-.6-.7-.9-1.6-.9-2.8 0-2.4.4-4.3 1.3-5.9.9-1.6 2.1-3.3 3.8-5.2 1.2-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2.1-1.2 3l-13 15.6L69 65.9c.9 1 1.3 2 1.3 3.1z"></path>
</g>
</svg>
</button>
</div>
</div>
</header>
<div class="sidebar" v-bind:class="{visible: drawerOpen}">
<ul>
<li><span class="label">Game by</span><span class="indent"><a href="https://ahoylemon.xyz" onclick="sendEvent('outside link', 'https://ahoylemon.xyz')">Lemon</a></span></li>
<li> <span class="label">Current round count</span><span class="indent"><span class="number-of-rounds">{{drawings.length}}</span></span></li>
<li><span class="label">Global average</span><span class="indent">{{averagePercent}}% correct</span></li>
<li> <span class="label">Learn more</span><span class="indent"><a href="https://github.com/AhoyLemon/damn.dog#readme" target="_blank" onclick="sendEvent('outside link', 'https://github.com/AhoyLemon/damn.dog')">here</a></span></li>
<li v-if="standalone == false"><span class="label">You can</span><span class="indent">
<button @click="shareThisRound()">share this round.</button></span></li>
<li id="AddToHomeScreen"><span class="label">But first</span><span class="indent">
<button @click="installPWA">save this.</button></span></li>
<li class="smaller">Your progress will be saved if you close this browser.</li>
</ul>
</div>
<div class="share-round-holder helper-holder" v-cloak v-if="help == 'share'">
<div class="share-round">
<div class="child"><span>Just copy the URL. The other person will see this round.</span><a class="button close-sharebox" v-on:click="help = false">Alright.</a></div>
</div>
</div>
<main class="offline"><img class="offline-dog" src="/svg/offline-dog.svg"></main>
<section class="game-over" v-if="gameOverScreen" v-cloak>
<div class="stripes">
<div class="child">
<h2>GAME OVER</h2>
</div>
<div class="child">
<table>
<thead>
<tr>
<th>Rounds Played</th>
<th>Correct</th>
<th>Incorrect</th>
<th>Percent</th>
</tr>
</thead>
<tbody>
<tr>
<td v-text="player.rounds"></td>
<td v-text="player.correct"></td>
<td v-text="player.incorrect"></td>
<td v-text="scorePercent + '%'"></td>
</tr>
</tbody>
</table>
</div>
<div class="child">
<div class="button-holder">
<button class="button" v-on:click="clearScores()">Play again</button>
</div>
</div>
</div>
</section>
</div>
<script src="js/libraries/vue.min.js"></script>
<script>
const testing = false;
</script>
<!-- Global site tag (gtag.js) - Google Analytics-->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-15129990-16"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-15129990-16');
</script>
<script src="js/min/damn.vue.min.js?v=2024-02-06T04:58:00.428Z"></script>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "VideoGame",
"name": "DAMN DOG",
"url": "https://damn.dog",
"sameAs": "https://thefpl.us/also-made/damn-dog",
"alternateName": "The wikiHow Illustration Game",
"image": "https://damn.dog/img/og-image.png",
"playMode": "SinglePlayer",
"applicationCategory": "browser game",
"gamePlatform": "web browser",
"operatingSystem": "web browser",
"genre": "guessing game",
"description": "The guessing game for wikiHow illustrations.",
"inLanguage": "English",
"author": {
"@type": "Person",
"name": "Lemon",
"url": "https://ahoylemon.xyz",
"email": "[email protected]",
"sameAs": [
"https://thefpl.us/meet/lemon",
"https://twitter.com/AhoyLemon"
]
},
"offers": {
"@type": "Offer",
"description": "free",
"price": "0",
"priceCurrency": "USD"
},
"screenshot": [
{
"@type": "ImageObject",
"url": "https://damn.dog/img/screenshots/ss1.jpg",
"width": "800",
"height": "800"
},
{
"@type": "ImageObject",
"url": "https://damn.dog/img/screenshots/ss2.jpg",
"width": "600",
"height": "745"
},
{
"@type": "ImageObject",
"url": "https://damn.dog/img/screenshots/ss3.jpg",
"width": "898",
"height": "757"
},
{
"@type": "ImageObject",
"url": "https://damn.dog/img/screenshots/ss4.jpg",
"width": "444",
"height": "747"
}
],
"reviews": [
{
"name": "Tumblr",
"url": "https://lunulata.tumblr.com/post/142591221607/this-is-a-good-game-because-these-are-all-real",
"author": "lunulata"
},
{
"name": "Rock Paper Shotgun",
"url": "https://www.rockpapershotgun.com/2016/04/11/wikihow-game/",
"author": "Adam Smith"
},
{
"name": "Destructoid",
"url": "http://www.destructoid.com/it-s-surprisingly-difficult-to-guess-wikihow-articles-based-on-header-images-354627.phtml",
"author": "Darren Nakamura"
},
{
"name": "Kotaku UK",
"url": "http://www.kotaku.co.uk/2016/04/11/the-wikihow-illustration-game-made-me-spray-tea-through-my-nose",
"author": "Julian Benson"
},
{
"name": "Daily Dot",
"url": "http://www.dailydot.com/lol/damn-dog-wikihow-illustration-guessing-game/",
"author": "Jay Hathaway"
},
{
"name": "Gizmodo",
"url": "http://www.gizmodo.com.au/2016/04/the-best-game-on-the-internet-is-all-about-weird-wikihow-illustrations/",
"author": "Hayley Williams"
}
],
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "5",
"reviewCount": "6"
},
"award": "The Best Game On The Internet -Gizmodo"
}
</script>
</body>
</html>