-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
387 lines (325 loc) · 17 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
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
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8"/>
<link rel="stylesheet" type="text/css" href="styles/goll.css">
<link id="colorcss" rel="stylesheet" type="text/css" href="styles/goll-black.css">
<!-- load the lovely sentences -->
<script src="js/text.js"></script>
<!-- game settings-->
<script src="js/settings.js"></script>
<!-- index cards and metadata -->
<script src="archive/metadata/metadata-en.js"></script>
<script src="js/archive.js"></script>
<!-- game logics -->
<script src="js/goll.js" async></script>
<!-- the plugin that displays the index cards-->
<link href="lightgallery/lightgallery.css" rel="stylesheet">
<script src="lightgallery/lightgallery.js"></script>
<title>Archäologische Sammlung</title>
<!-- favicons -->
<link rel="apple-touch-icon" sizes="57x57" href="apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="favicon-16x16.png">
<link rel="manifest" href="site.manifest.json">
<link rel="mask-icon" href="safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="ms-icon-144x144.png">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<meta name="description" content="Concentration Game, Card Game, Memory Card Game, Pairs Card Game, Pairs, Memory, Heinz Kirchhoff, Archäologische Sammlung, Archaeological Pairs">
<meta content="width=device-width, initial-scale=1" name="viewport"/>
<meta property="og:title" content="Archäologische Sammlung"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content="https://collectivepairs.de"/>
<meta property="og:image" content="assets/logo.png"/>
<meta property="og:audio" content="assets/intro.mp3"/>
<meta property="og:description" content="Stadtarchäologie Gifhorn"/>
<meta property="og:video" content="assets/goll-black.webm"/>
</head>
<body>
<div class="hidden">
<section itemscope itemtype="http://schema.org/Game">
<h2>Archäologische Sammlung</h2>
<span itemprop="audience" itemscope itemtype="http://schema.org/PeopleAudience">
<span itemprop="suggestMinAge">5</span>
</span>
<p itemprop="name">Archaeological Pairs</p>
<img src="assets/gollpairs.png" itemprop="thumbnailUrl" alt="two characters rising up from two cards and kissing eachother">
<p itemprop="description">
Archaeological Pairs is a card game in the context of Stadtarchäologie Gifhorn. All the cards are laid face down on a surface and the player flips two cards at each turn.
The objective of the game is to find matching pairs of cards.
Archaeological Pairs connects the cards to the digital dataset from the Stadtarchäologie Gifhorn, creating common ground in a fun way.
Once played, the amazing artworks will remain in people's minds
<span itemprop="gameboard"></span>
<span itemprop="numberOfPlayers" itemscope itemtype="http://schema.org/QuantitativeValue">
<span itemprop="minValue">1</span>
<span itemprop="maxValue">1</span>
</span>
</p>
</section>
</div>
<div id="main">
<h1 class="page-title is-action" onClick="onAboutClicked();">Archäologische Sammlung</h1>
<div class="colorbar">
<ul class="color-select">
<li class="black circle" onclick="changeColor(0);"> </li>
<li class="white circle" onclick="changeColor(1);"> </li>
<li class="yellow circle" onclick="changeColor(2);"> </li>
<li class="orange circle" onclick="changeColor(3);"> </li>
<li class="pink circle" onclick="changeColor(4);"> </li>
<li class="red circle" onclick="changeColor(5);"> </li>
<li class="purple circle" onclick="changeColor(6);"> </li>
<li class="blue circle" onclick="changeColor(7);"> </li>
<li class="green circle" onclick="changeColor(8);"> </li>
<li class="brown circle" onclick="changeColor(9);"> </li>
</ul>
</div>
<!--
<div class="intro-video">
//TODO
<img src="assets/gollpairs-w.png" id="fallback" alt="your browser does not support this video format" class="hidden">
<video id="introvideo" width="720" height="512" autoplay muted playsinline class="introvideo video">
<source id="source" src="assets/goll-black.webm" type="video/ogv">
</video>
<script>
document.getElementById('introvideo').addEventListener('ended', function() {
document.getElementById("start").classList.add("blink");
}, false);
</script>
</div>
-->
<!-- TODO -->
<div class="intro-video">
<img src="assets/logo-black.png" id="fallback" class="intrologo">
</div>
<div class="audiobar">
<div class="left">
<span id="music1" class="button music-off sound-button tooltip" onclick="toggleMusic();">
<span class="tooltiptext">Toggle Music</span>
</span>
</div>
<div class="right">
<span id="sound1" class="button sound-off sound-button tooltip" onclick="toggleSound();">
<span class="tooltiptext">Toggle Sound</span>
</span>
</div>
</div>
<!-- <div class="left">
<div class="button is-action" onclick="onStoryClicked();">Story</div>
</div>
-->
<div class="bottom center">
<div id="start" class="button is-action" onclick="onGameClicked();">Start</div>
</div>
<div class="stat-scroller">
<p class="scroll-marquee">
<span id="stats">
</span>
</p>
</div>
</div>
<div id="about" class="hidden">
<div class="about-container">
<h1 class="page-title">About Archäologische Sammlung</h1>
<p id="about-pause" class="hint">(Click to Pause/Resume)</p>
<p class="marquee-about" id="about-story">
<span id="about-scroller">
<br/>
<br/>
Archäologische Sammlung<br/>
<br/>
A card game about<br/>
<a class="logolink" target="_blank" rel="noopener noreferrer" href="https://kulturerbe.niedersachsen.de/kultureinrichtung/isil_DE-2880//">Kreis- und Stadtarchäologie Gifhorn</a><br/>
<br/>
<br/>
Die archäologische Sammlung der Kreis- und Stadtarchäologie Gifhorn umfasst Funde aus<br/>
dem gesamten Landkreis einschließlich der Stadt Gifhorn. <br/>
Das Spektrum der Objekte reicht von altsteinzeitlichen Werkzeugen aus der Zeit vor etwa<br/>
50.000 Jahren bis hin zu neuzeitlichen Gegenständen aus dem 17. und 18. Jahrhundert. <br/>
Die Sammlung geht in ihrem Kern auf Bestände des <br/>
Museums- und Heimatvereins Gifhorn e.V. (Gründung 1914) zurück, <br/>
wird jedoch durch aktuelle Grabungsprojekte sowie Zuwendungen und Fundüberlassungen ständig erweitert.<br/>
Da nur ein kleiner Teil der Funde in den Museen des Landkreises ausgestellt werden kann,<br/>
hat sich die Kreis- und Stadtarchäologie dazu entschlossen,<br/>
hochwertige digitale Fotografien von ausgewählten Sammlungsobjekten mit<br/>
den dazugehörigen Metadaten unter der Lizenz CC BY-SA 4.0 freizugeben. <br/>
Die Metadaten enthalten neben grundlegenden Informationen zur Objektart,<br/>
zur Datierung sowie zum Fundort auch technische Angaben wie Material,<br/>
Technik, Maße. Zur Erfassung der Metadaten werden Normdaten wie die Objektbezeichnungsdatei (OBG),<br/>
der Material- und Technik-Thesaurus der VZG sowie für Georeferenzen der Datensatz GN250 genutzt.<br/>
<br/>
<br/>
Für unser Spiel »archaelogical pairs« verwendeten Mediendateien sind<br/>
ein Teil aus diesem Gesamtfundus der über 82 Mediendateien,
die 62 Objekte repräsentieren. <br/>
<br/>
<br/>
Danke für diese Daten, die für Coding-Da-Vinci-Hackathon, Region Niedersachen<br/>
zur Verfügung gestellt wurden und in unser Spielvergnügen integriert sind. <br/>
<br/>
<br/>
Gameplay by<br/>
Niels Elburg and <a class="logolink" href="https://dorisahlgrimm.de/">Arianna Doris Ahlgrimm</a><br/>
<br/>
<br/>
Special thanks to Coding Da Vinci 2020 Niedersachsen<br/>
<br/>
Special thanks for sound go to<br/>
<a class="logolink" href="https://freesound.org/people/f4ngy">f4ngy, for "Card Flip" and "Bridging Cards"</a><br/>
<a class="logolink" href="https://freesound.org/people/qubodup">qubodup, for "Puzzle Error"</a><br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
</span>
</p>
</div>
<div class="bottom">
<ul>
<li><div class="button zapbutton is-action" onclick="onMainClicked();">Back</div></li>
</ul>
</div>
</div>
<div id="gollstory" class="hidden">
<h1 class="page-title"></h1>
<p id="story-pause" class="hint">(Click to Pause/Resume)</p>
<div class="story-container">
<p class="marquee" id="story">
<span class="text" id="scroller">
</span>
</p>
</div>
<div class="bottom">
<ul>
<li><div class="button zapbutton is-action" onclick="onMainClicked();">Back</div></li>
</ul>
</div>
</div>
<div id="game" class="hidden">
<h1 class="page-title">Archäologische Sammlung</h1>
<div id="wrapper" class="black">
<div id="metadata-container" class="metadata-container">
</div>
<div class="congratulations hidden" id="you-won"></div> <!-- container for lovely sentences -->
<div id="gallery" style="visibility: hidden;" >
<div id="lightgallery"></div> <!-- container for index cards -->
</div>
<div class="colorbar colorbar-fade-in-out" id="settings-bar"> <!-- game settings bar -->
<ul class="color-select">
<li class="black circle" onclick="changeColor(0);"> </li>
<li class="white circle" onclick="changeColor(1);"> </li>
<li class="yellow circle" onclick="changeColor(2);"> </li>
<li class="orange circle" onclick="changeColor(3);"> </li>
<li class="pink circle" onclick="changeColor(4);"> </li>
<li class="red circle" onclick="changeColor(5);"> </li>
<li class="purple circle" onclick="changeColor(6);"> </li>
<li class="blue circle" onclick="changeColor(7);"> </li>
<li class="green circle" onclick="changeColor(8);"> </li>
<li class="brown circle" onclick="changeColor(9);"> </li>
<li class="circle music-off circle-lightgrey" id="music2" onclick="toggleMusic();"></li>
<li class="circle sound-off circle-lightgrey" id="sound2" onclick="toggleSound();"></li>
<!-- <li class="circle back circle-lightgrey is-action" onclick="onMainClicked();"></li> -->
</ul>
</div>
<!-- game container -->
<div class="goll-container unselectable" id="board">
<!-- status bar and walk-away/cheat buttons -->
<div class="goll-info-container" id="status">
<div class="goll-info">
Time: <span id="time-remaining">00:00:00</span>
<div class="goll-action-right">
<div id="skip-action" class="action-button tooltip">
<div class="sneakers-icon"></div>
<span class="tooltiptext">Walk away from this game</span>
</div>
</div>
</div>
<div class="goll-info">
Best: <span id="highscore">0</span>
</div>
<div class="goll-info">
Score: <span id="score">0</span>
<div class="goll-action-center">
<div id="cheat-action" class="action-button tooltip">
<div class="cheat-icon"></div>
<span class="tooltiptext">Glimpse at ... or Match a card</span>
</div>
</div>
</div>
<div class="goll-info">
Moves: <span id="moves">0</span>
</div>
</div>
</div>
<div id="level" class="level hidden">
<span id="current-level">1</span>
</div>
<div id="quit" class="quit">
<div class="circle back circle-lightgrey is-action quit-button" onclick="onMainClicked();"></div>
</div>
</div>
</div>
<!-- load audio assets -->
<audio id="flip-card">
<source src="assets/card-flip.wav" type="audio/wav">
</audio>
<audio id="match-card">
<source src="assets/card-match.wav" type="audio/wav">
</audio>
<audio id="nomatch-card">
<source src="assets/card-nomatch.wav" type="audio/wav">
</audio>
<audio id="win-game">
<source src="assets/win-game.mp3" type="audio/mp3">
</audio>
<audio id="shuffle">
<source src="assets/shuffle.wav" type="audio/wav">
</audio>
<audio id="intro-music" loop>
<source src="assets/intro.mp3" type="audio/mp3">
</audio>
<audio id="skip-button">
<source src="assets/skip-button.wav" type="audio/wav">
</audio>
<script>
initDefaults();
loadColor();
onMainClicked();
/* document.getElementById("story").addEventListener("click", function() {
document.getElementById("scroller").classList.toggle("paused");
});
*/
document.getElementById("about-story").addEventListener("click", function() {
document.getElementById("about-scroller").classList.toggle("paused");
});
</script>
<!-- load lightgallery plugins -->
<script src="https://cdn.jsdelivr.net/picturefill/2.3.1/picturefill.min.js"></script>
<script src="https://cdn.rawgit.com/sachinchoolur/lg-pager.js/master/dist/lg-pager.js"></script>
<script src="https://cdn.rawgit.com/sachinchoolur/lg-zoom.js/master/dist/lg-zoom.js"></script>
</body>
</html>