-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathindex.html
More file actions
276 lines (236 loc) · 9.09 KB
/
index.html
File metadata and controls
276 lines (236 loc) · 9.09 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>🎮 Debug Quest | GDG RCCIIT</title>
<link rel="stylesheet" href="styles.css">
<meta name="k1" content="GREAT_DEVELOPER" />
<meta name="k2" content="SECRET_KEY" />
<link href="https://fonts.googleapis.com/css2?family=Creepster&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Creepster&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Nosifer&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Bangers&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Droid+Serif:wght@400;700&display=swap" rel="stylesheet">
<style>
.debug-key::after {
--secret: "76616c7565";
content: attr(data-null);
}
.key-fragment {
position: absolute;
clip: rect(0 0 0 0);
kerning: 3px;
/* emphasis: none;
yacht: none; */
}
</style>
</head>
<body>
<div class="key-fragment"
data-part1="Y29uZ3JhdHVsYXRpb25z"
data-part2="eW91IGFyZSBh"
data-part3="Z3JlYXQgZGV2ZWxvcGVy">
</div>
<div style="display:none" class="debug-key" data-value="fake_key_here"></div>
<div class="trailing-cursor" style="position: absolute; left: 100px; top: 100px;"></div>
<div class="nav">
<button onclick="startRotation(); playSpinSound()">O for Orange</button>
<h1 class="logo">Debug Quest | Level 2</h1>
<div class="score">Score: <span id="score">0</span>/10</div>
</div>
<div class="grid">
<div class="card glitch vanish-on-click" id="card1" onclick="improveVanishingAct()">
<h2 style="padding-top: 10px;">The Ghostly Revelation</h2>
<p>Unravel the mystery as shadows blend with the night,<br>
Click to unveil the spirit hidden from sight.</p>
<p class="distorted-text">Hover to Reveal the Distortion!</p>
<div class="glitch-effect">
<span class="glitch-text" style="display: inline-block; margin: 0 auto;">You can't escape!</span>
</div>
<button class="action-btn vanish-btn" id="ghost-button" onclick="playEerieSound()">
Discover the Secret
</button>
</div>
<div class="card glitch" id="diwali-text">
<h2>Festival of Lights</h2>
<p>
A night filled with joy, bright and loud,<br>
Light the diyas, gather the crowd.
</p>
<p>Points: <span id="points">0</span></p>
<button id="celebrate-button" class="action-btn" onclick="celebrate()">
Celebrate
</button>
</div>
<div class="card potion" id="POTION">
<h2>The Restless Message</h2>
<h3>(The "Does Nothing" Card)</h3>
<p>There's nothing like the laughter<br>
of a baby. Unless it's 1 A.M<br>
and you're home alone!</p>
<p id="hidden-message">Boo! You found a hidden message!</p>
<div class="potion-bottle">
<div class="liquid"></div>
<div class="bubbles">
<!-- Bubbles -->
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
<div class="bubble"></div>
</div>
</div>
</div>
<div class="card elevate glitch" id="chaotic">
<h2>🤪 The Bouncing Bamboozler</h2>
<p>🎈 Bouncing around with no sense of space,<br>
🚀 I zoom through your screen, leaving no trace!
</p>
<button class="action-btn">
🚀 Launch Into Chaos! 🎉
</button>
</div>
<div class="card glitch" id="safari-card">
<h2>Safari Adventure</h2>
<p>"Venture into the safari, where the wild is tamed and the tamed is wild—just don’t ask the giraffe for directions, they never look down."</p>
<div class="chamber">
<button class="action-btn" onclick="embarkOnAdventure()">
Embark on Adventure
</button>
</div>
<div class="safari-effect"></div>
<div class="bsod-message" style="display: none;"></div>
</div>
<div class="card glitch" id="disturb">
<h2 id="disturbance-title">The Disturbance Code</h2>
<button class="action-btn" id="disturbance-btn" onclick="triggerDisturbance(),moveCardAround(), playAmogus();">
Tap If You Dare
</button>
<p id="disturbance-text">What you seek is... unfindable.</p>
<p id="hidden-disturbance" class="hidden-message">Nothing is as it seems...</p>
<div class="bsoD" id="bsod" style="position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); color: white; font-size: 24px; z-index: 9999;">
FATAL ERROR! SYSTEM CRASHED!
</div>
</div>
<div id="card7">
<h2>SYSTEM FAILURE</h2>
<button id="glitch-message" class="actionbutton" onclick="triggerCrash()">UNLEASH CHAOS</button>
<button id="glitch-message2" class="sevencard" onclick="createMemory()">ERROR MEMORY</button>
<!-- Floating cyberpunk emojis inside the card -->
<div class="floating-element">🦾</div>
<div class="floating-element">💀</div>
<div class="floating-element">🤖</div>
<div class="floating-element">👾</div>
<div class="floating-element">⚡</div>
</div>
<div class="card glitch" id="card8">
<h2 style="font-size: 2.5rem;">Clumsy Time Machine</h2>
<div class="fake-ip" id="fake-ip" style="display: none;"></div>
<button style="padding:10px" class="action-btn" id="timeButton" onclick="triggerTimeMachine()">Travel Through Time</button>
</div>
<div class="card glitch" id="finale">
<h2>The Final Call <span class="laughing-emoji">😂</span></h2>
<p>The screen flickers, shadows creep.<br>
A simple press, and you may weep,<br>
What you seek is far from deep.</p>
<button class="action-btn" id="finale_btn" onclick="triggerFullScreenImage()">
Embrace the Unknown
</button>
</div>
</div>
<div class="footer">
<p>🎮 Level 2: The Confounding Catastrophes</p>
<p>© 2024 GDG RCCIIT - Web & AIML Team</p>
</div>
<script src="script.js"></script>
</body>
<!-- Add this HTML just before your footer -->
<div class="visitor-counter">
<div class="counter-label">VISITORS</div>
<div class="counter-display">
<div class="counter-dot"></div>
<span id="visitorCount">0000</span>
</div>
</div>
<!-- Add this CSS to your existing styles.css -->
<style>
.visitor-counter {
position: fixed;
bottom: 20px;
right: 20px;
background: #000;
border: 2px solid #0f0;
padding: 10px;
font-family: monospace;
color: #0f0;
z-index: 1000;
box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
}
.counter-label {
font-size: 12px;
text-align: center;
margin-bottom: 5px;
text-transform: uppercase;
letter-spacing: 2px;
}
.counter-display {
display: flex;
align-items: center;
gap: 8px;
}
.counter-dot {
width: 8px;
height: 8px;
background-color: #0f0;
border-radius: 50%;
animation: pulse 2s infinite;
}
#visitorCount {
font-size: 24px;
font-weight: bold;
font-family: 'Courier New', monospace;
}
@keyframes pulse {
0% { opacity: 1; }
50% { opacity: 0.3; }
100% { opacity: 1; }
}
/* Add some hover effects to match your theme */
.visitor-counter:hover {
transform: scale(1.05);
transition: transform 0.3s ease;
box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}
</style>
<script>
// Initialize the counter
function initVisitorCounter() {
// Try to get the count from localStorage
let count = localStorage.getItem('visitorCount');
if (!count) {
// If no count exists, start with a random number between 1000-9999
count = 93;
localStorage.setItem('visitorCount', count);
} else {
// If returning visitor, increment the count
count = parseInt(count) + 1;
localStorage.setItem('visitorCount', count);
}
updateCounterDisplay(count);
setInterval(() => {
count++;
localStorage.setItem('visitorCount', count);
updateCounterDisplay(count);
}, 60000);
}
function updateCounterDisplay(count) {
const countDisplay = document.getElementById('visitorCount');
countDisplay.textContent = count.toString().padStart(4, '0');
}
// Initialize when the page loads
document.addEventListener('DOMContentLoaded', initVisitorCounter);
</script>
</html>