-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
521 lines (433 loc) · 12.8 KB
/
Copy pathindex.html
File metadata and controls
521 lines (433 loc) · 12.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
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
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>🎮 Christmas JAMPACK Demo Disc</title>
<link href="https://fonts.googleapis.com/css2?family=Mountains+of+Christmas:wght@700&family=Poppins:wght@300;400;600&display=swap" rel="stylesheet">
<style>
/* ===== GLOBAL ===== */
body {
margin: 0;
font-family: 'Poppins', sans-serif;
background: black;
color: white;
overflow-x: hidden;
}
h1, h2 {
font-family: 'Mountains of Christmas', cursive;
text-shadow: 2px 2px 8px black;
}
.screen {
display: none;
padding-top: 120px;
transition: opacity 1s;
}
.active {
display: block;
opacity: 1;
}
.container {
max-width: 1000px;
margin: auto;
padding: 40px;
background: rgba(0,0,0,0.55);
border-radius: 20px;
box-shadow: 0 0 25px black;
text-align: center;
position: relative;
}
/* ===== SPLASH SCREEN ===== */
#splash {
position: fixed;
inset: 0;
background: black;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
z-index: 9999;
color: white;
font-size: 3rem;
font-family: 'Mountains of Christmas', cursive;
}
#splash img {
width: 300px;
margin-top: 20px;
}
/* ===== NAV ===== */
nav {
position: fixed;
top: 0;
width: 100%;
z-index: 50;
padding: 12px;
display: flex;
justify-content: center;
gap: 40px;
backdrop-filter: blur(10px);
background: rgba(0,0,0,0.45);
border-bottom: 2px solid gold;
}
nav a {
font-size: 1.4rem;
color: gold;
text-decoration: none;
cursor: pointer;
}
nav a.locked {
opacity: 0.5;
cursor: not-allowed;
}
/* ===== GAMES THEME ===== */
#games .container {
background: radial-gradient(circle at top, #1b2a4a 0%, #05080f 70%);
border: 3px solid gold;
box-shadow: 0 0 40px rgba(255,215,0,0.4);
overflow: hidden;
clip-path: ellipse(100% 95% at 50% 50%);
filter: contrast(1.1) brightness(1.05);
}
/* CRT SCANLINES & BLOOM */
#games .container::after {
content: "";
position: absolute;
inset: 0;
background: repeating-linear-gradient(
to bottom,
rgba(255,255,255,0.03) 0px,
rgba(255,255,255,0.03) 1px,
transparent 2px,
transparent 4px
);
pointer-events: none;
mix-blend-mode: lighten;
filter: blur(0.5px);
}
/* ===== CAROUSEL ===== */
.carousel {
display: flex;
align-items: center;
justify-content: center;
gap: 40px;
margin-top: 40px;
}
.nav-btn {
font-size: 3rem;
background: none;
border: none;
color: gold;
cursor: pointer;
}
.nav-btn:hover {
color: white;
}
/* GAME CARD */
.game-display {
width: 460px;
height: 360px;
cursor: pointer;
}
.game-display:hover {
transform: scale(1.09);
}
.game-display img {
width: 100%;
height: 325px;
object-fit: cover;
object-position: center;
border-radius: 10px;
border: 4px solid gold;
box-shadow:
inset 0 0 20px rgba(0,0,0,0.7),
0 0 30px rgba(255,215,0,0.6);
background: black;
}
.game-display h2 {
margin-top: 5px;
font-size: 2.2rem;
letter-spacing: 1px;
}
/* ===== UNLOCK PANEL ===== */
.unlock-panel {
margin-top: 90px;
padding: 25px;
border-radius: 12px;
border: 2px solid gold;
background: rgba(0,0,0,0.6);
}
.unlock-panel input {
padding: 12px;
font-size: 1.2rem;
border-radius: 8px;
border: 2px solid gold;
width: 220px;
}
.button {
margin-left: 10px;
padding: 12px 25px;
font-size: 1.2rem;
border-radius: 8px;
border: 2px solid gold;
background: linear-gradient(45deg, #ff2b2b, #b20000);
color: white;
cursor: pointer;
}
.button:hover {
transform: scale(1.08);
}
video {
border-radius: 15px;
border: 3px solid gold;
}
#final img {
max-height: 325px;
max-width: 100%;
object-fit: contain; /* shows whole photo */
border-radius: 10px;
border: 4px solid gold;
background: black; /* clean letterbox look */
}
</style>
</head>
<body>
<!-- SPLASH -->
<div id="splash">
<div>DeShrimpo Computer Entertainment</div>
</div>
<!-- BACKGROUND MUSIC -->
<audio id="bg-music" loop>
<source src="Jampack Volume 11 Demo Disc Theme.mp3">
" type="audio/mp3">
</audio>
<audio id="cursor-sound">
<source src="audio/Clicker.mp3" type="audio/mp3">
</audio>
<audio id="transition-sound">
<source src="Connect4/Transitions.mp3" type="audio/mp3">
</audio>
<!-- NAV -->
<nav>
<a onclick="showScreen('home')">Home</a>
<a onclick="showScreen('games')">Games</a>
<a id="nav-final" class="locked">Final 🔒</a>
</nav>
<!-- HOME -->
<div id="home" class="screen active">
<div class="container">
<h1>🎄 Christmas JAMPACK 2025 🎮</h1>
<p>Welcome to this year's new challenge!</p>
<p>Complete a series of REAL mini-games to unlock a secret passcode that will lead you to the locations of your Christmas presents. Are you Ready?</p>
<p>Select <b>Games</b> above to begin.</p>
</div>
</div>
<!-- GAMES -->
<div id="games" class="screen">
<div class="container">
<h1>🎮 GAME SELECTION</h1>
<p>Use ◀ ▶ or arrow keys / gamepad</p>
<div class="carousel">
<button class="nav-btn" onclick="prevGame()">◀</button>
<div class="game-display" onclick="playCursorAndLaunch()">
<img id="game-img">
<h2 id="game-title"></h2>
</div>
<button class="nav-btn" onclick="nextGame()">▶</button>
</div>
<div class="unlock-panel">
<h2>Unlock Final Reward</h2>
<input id="final-password" placeholder="ENTER CODE">
<button class="button" onclick="unlockFinal()">Unlock</button>
</div>
</div>
</div>
<!-- FINAL -->
<div id="final" class="screen">
<div class="container">
<h1>🎄 Congratulations 🎄</h1>
<p style="max-width: 820px; margin: 30px auto; font-size: 1.1rem; line-height: 1.7;">
You have officially beaten every single game and unlocked the final clue to search
for your Christmas presents! But before we conclude this scavenger hunt, we need to take a moment to remember someone who made every Christmas feel brighter.
<br><br>
In memory of <b>Daisy</b>, who filled our home with joy, comfort, and unconditional love, you were family in every sense of the word. Though you may no longer be here with us,
your silly personality and presence are forever in our hearts.
<br><br>
Thus, this 20th anniversary hunt and this Christmas ends with love, gratitude,
and remembrance.
<br><br>
<b>Merry Christmas, Daisy.</b><br>
You are deeply loved and never forgotten. ❤️
</p>
<!-- PHOTO CAROUSEL -->
<div class="carousel" style="margin-top: 50px;">
<button class="nav-btn" onclick="prevPhoto()">◀</button>
<div class="game-display">
<img id="photo-img">
</div>
<button class="nav-btn" onclick="nextPhoto()">▶</button>
</div>
<!-- BUTTONS -->
<div style="margin-top: 50px;">
<button class="button" onclick="toggleSecret()">Password Secret</button>
<button class="button" onclick="toggleClue()">Final Clue</button>
</div>
<!-- SECRET TEXT -->
<p id="secret-text" style="display:none; margin-top:40px; font-size:1.05rem; line-height:1.7;">
D (Daisy) · M (May) · M (May) · R (Ray) · R (Ray) · C (Chay) · C (Chay) ·
E (Eugene) · A (Artino) · D (DeShrimpo)<br><br>
4 / 13 / 10.<br><br>
W (We) L (Love) Y (You) L (Little) B (Buddy).<br>
T (Thanks) F (For) T (The) I (Incredible) A (And)
F (Fun) M (Memories), F (Friend).
</p>
<!-- FINAL CLUE -->
<p id="final-clue" style="display:none; margin-top:40px; font-size:1.3rem; font-weight:600;">
🐾 Seek the westies, they have your gifts protected ;) 🎁
</p>
<br><br>
<button class="button" onclick="showScreen('home')">Back Home</button>
</div>
</div>
<script>
/* ===== SPLASH SCREEN ===== */
window.addEventListener("load", () => {
const splash = document.getElementById("splash");
setTimeout(() => {
splash.style.display = "none";
}, 3000);
});
/* ===== SCREEN CONTROL + MUSIC ===== */
const music = document.getElementById("bg-music");
function showScreen(id) {
document.querySelectorAll(".screen").forEach(s => s.classList.remove("active"));
document.getElementById(id).classList.add("active");
if (id === "games") {
music.currentTime = 0;
music.play().catch(() => {});
} else {
music.pause();
music.currentTime = 0;
}
}
/* ===== GAME DATA ===== */
const games = [
{ title: "Memory Match", img: "Connect4_2/Screenshot 2025-12-22 160955.png", link: "MatchingGame.html" },
{ title: "Connect 4: Corn Edition", img: "Connect4/Screenshot 2025-12-22 152841.png", link: "TheRealConnect4.html" },
{ title: "Metal Gear Solid: Tic-Tac-Tactical", img: "Connect4/Screenshot 2025-12-21 232615.png", link: "Tic-Tac-Toe.html" },
{ title: "Chump 2028", img: "Connect4_2/ChumpNews.jpg", link: "Chump2028.html" },
{ title: "The Space Escape 3D", img: "Connect4_2/Screenshot 2025-12-21 230948.png", link: "WestieInSpace.html" },
{ title: "The DogMother 3D", img: "Connect4/Screenshot 2025-12-21 192238.png", link: "3DPractice.html" },
{ title: "The West Highland Terror", img: "Connect4/Screenshot 2025-12-22 002424.png", link: "Spooky.html" }
];
let index = 0;
const cursorSound = document.getElementById("cursor-sound");
const transitionSound = document.getElementById("transition-sound");
// Make transition louder
transitionSound.volume = 0.8; // range 0.0 to 1.0
function renderGame() {
document.getElementById("game-title").textContent = games[index].title;
document.getElementById("game-img").src = games[index].img;
}
function playCursorAndLaunch() {
cursorSound.currentTime = 0;
cursorSound.play().catch(() => {});
launchGame();
}
function playTransition() {
transitionSound.currentTime = 0;
transitionSound.play().catch(() => {});
}
/* ===== GAME NAVIGATION ONLY MANUAL ===== */
function nextGame() {
index = (index + 1) % games.length;
renderGame();
playTransition();
}
function prevGame() {
index = (index - 1 + games.length) % games.length;
renderGame();
playTransition();
}
function launchGame() {
window.open(games[index].link, "_blank");
}
/* ===== FINAL UNLOCK ===== */
const FINAL_PASSWORD = "DMMRRCCEAD41310WLYLBTFTIAFMF";
function unlockFinal() {
const input = document.getElementById("final-password").value.trim();
if (input === FINAL_PASSWORD) {
alert("Final Unlocked!");
const nav = document.getElementById("nav-final");
nav.classList.remove("locked");
nav.textContent = "Final";
nav.onclick = () => showScreen("final");
} else {
alert("Incorrect password");
}
}
/* ===== KEYBOARD SUPPORT ===== */
document.addEventListener("keydown", e => {
if (e.key === "ArrowRight") nextGame();
if (e.key === "ArrowLeft") prevGame();
});
/* ===== TAB VISIBILITY ===== */
document.addEventListener("visibilitychange", () => {
if (document.hidden) {
music.pause();
} else {
if (document.querySelector("#games.active")) {
music.play().catch(() => {});
}
}
});
/* ===== FINAL PHOTO CAROUSEL ===== */
const photos = [
"Connect4/IMG_20251224_032728.jpg",
"Connect4/IMG_20251224_032803.jpg",
"Connect4/IMG_20251224_032812.jpg",
"Connect4/IMG_20251224_032958.jpg",
"Connect4_2/IMG_20251224_033008.png",
"Connect4/image000000 (1).jpg",
"Connect4/image000000 (2).jpg",
"Connect4/IMG_20220502_112942_080.jpg",
"Connect4/IMG_20220504_141508_667.jpg",
"Connect4/IMG_20220504_141508_699.jpg"
];
let photoIndex = 0;
function renderPhoto() {
document.getElementById("photo-img").src = photos[photoIndex];
}
function nextPhoto() {
photoIndex = (photoIndex + 1) % photos.length;
renderPhoto();
}
function prevPhoto() {
photoIndex = (photoIndex - 1 + photos.length) % photos.length;
renderPhoto();
}
/* ===== SECRET & CLUE TOGGLES ===== */
function toggleSecret() {
const el = document.getElementById("secret-text");
el.style.display = el.style.display === "none" ? "block" : "none";
}
function toggleClue() {
const el = document.getElementById("final-clue");
el.style.display = el.style.display === "none" ? "block" : "none";
}
renderPhoto();
function showScreen(id) {
document.querySelectorAll(".screen").forEach(s => s.classList.remove("active"));
document.getElementById(id).classList.add("active");
// 🔽 ALWAYS scroll to top when changing screens
window.scrollTo({ top: 0, behavior: "instant" });
if (id === "games") {
music.currentTime = 0;
music.play().catch(() => {});
} else {
music.pause();
music.currentTime = 0;
}
}
renderGame();
</script>
</body>
</html>