A3qualityo commited on
Commit
701313e
·
verified ·
1 Parent(s): b8afc35

Jo game tum bahut hi jyada achchhe se bana sakte ho vo banao - Initial Deployment

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +483 -19
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Cosmic Energy
3
- emoji: 🏢
4
- colorFrom: indigo
5
- colorTo: green
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: cosmic-energy
3
+ emoji: 🐳
4
+ colorFrom: gray
5
+ colorTo: yellow
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,483 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Cosmic Clicker Adventure</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <style>
9
+ @import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
10
+ .game-font {
11
+ font-family: 'Press Start 2P', cursive;
12
+ }
13
+
14
+ .game-container {
15
+ perspective: 1000px;
16
+ }
17
+
18
+ .clickable-pet {
19
+ transform-style: preserve-3d;
20
+ transition: all 0.3s ease;
21
+ }
22
+
23
+ .clickable-pet:hover {
24
+ transform: rotateY(15deg) scale(1.05);
25
+ }
26
+
27
+ .clickable-pet:active {
28
+ transform: scale(0.95);
29
+ }
30
+
31
+ .particle {
32
+ position: absolute;
33
+ border-radius: 50%;
34
+ pointer-events: none;
35
+ }
36
+
37
+ .power-up {
38
+ animation: float 3s ease-in-out infinite;
39
+ }
40
+
41
+ .power-up:hover {
42
+ animation: bounce 0.5s ease infinite;
43
+ }
44
+
45
+ @keyframes float {
46
+ 0% { transform: translateY(0px); }
47
+ 50% { transform: translateY(-15px); }
48
+ 100% { transform: translateY(0px); }
49
+ }
50
+
51
+ @keyframes bounce {
52
+ 0%, 100% { transform: translateY(0) scale(1); }
53
+ 50% { transform: translateY(-20px) scale(1.1); }
54
+ }
55
+
56
+ .progress-bar {
57
+ height: 20px;
58
+ border-radius: 10px;
59
+ transition: width 0.3s ease;
60
+ }
61
+
62
+ .tooltip {
63
+ visibility: hidden;
64
+ opacity: 0;
65
+ transition: opacity 0.3s;
66
+ }
67
+
68
+ .tooltip-trigger:hover + .tooltip {
69
+ visibility: visible;
70
+ opacity: 1;
71
+ }
72
+ </style>
73
+ </head>
74
+ <body class="bg-gray-900 text-white min-h-screen flex flex-col">
75
+ <div class="container mx-auto px-4 py-8 flex-grow">
76
+ <!-- Header -->
77
+ <header class="mb-8 text-center">
78
+ <h1 class="text-4xl md:text-6xl font-bold game-font text-transparent bg-clip-text bg-gradient-to-r from-purple-400 via-pink-500 to-yellow-400 mb-4">
79
+ COSMIC CLICKER
80
+ </h1>
81
+ <p class="game-font text-yellow-300 mb-4">Click to collect cosmic energy and upgrade your astral companion!</p>
82
+ </header>
83
+
84
+ <!-- Main Game Area -->
85
+ <div class="game-container flex flex-col md:flex-row items-center justify-between gap-8">
86
+ <!-- Stats Panel -->
87
+ <div class="w-full md:w-1/4 bg-gray-800 rounded-lg p-4 shadow-xl border-2 border-purple-700">
88
+ <div class="mb-6">
89
+ <h2 class="game-font text-xl text-purple-300 mb-2">COSMIC ENERGY</h2>
90
+ <div class="text-3xl game-font text-yellow-300 flex items-center">
91
+ <span id="score">0</span>
92
+ <span class="text-sm ml-2 text-gray-400">CE</span>
93
+ </div>
94
+ </div>
95
+
96
+ <div class="mb-6">
97
+ <h2 class="game-font text-xl text-purple-300 mb-2">ENERGY PER CLICK</h2>
98
+ <div class="text-2xl game-font text-green-300">
99
+ <span id="click-power">1</span> <span class="text-sm text-gray-400">CE/click</span>
100
+ </div>
101
+ </div>
102
+
103
+ <div class="mb-6">
104
+ <h2 class="game-font text-xl text-purple-300 mb-2">AUTO COLLECTORS</h2>
105
+ <div class="text-2xl game-font text-blue-300">
106
+ <span id="auto-clickers">0</span> <span class="text-sm text-gray-400">(</span><span id="auto-power">0</span><span class="text-sm text-gray-400"> CE/s)</span>
107
+ </div>
108
+ </div>
109
+
110
+ <div class="relative tooltip-trigger mb-2">
111
+ <div class="progress-bar bg-gradient-to-r from-purple-600 to-pink-500" id="experience-bar" style="width: 0%"></div>
112
+ <span class="text-xs game-font mt-1 block">LEVEL <span id="level">1</span></span>
113
+ <div class="tooltip absolute bottom-full left-0 mb-2 p-2 bg-gray-900 border border-purple-500 rounded-md text-xs">
114
+ Next level in: <span id="next-level">100</span> CE
115
+ </div>
116
+ </div>
117
+ </div>
118
+
119
+ <!-- Clickable Pet -->
120
+ <div class="relative w-full md:w-2/4 flex flex-col items-center">
121
+ <div id="pet-area" class="relative w-64 h-64 md:w-80 md:h-80 flex items-center justify-center cursor-pointer">
122
+ <div id="clickable-pet" class="clickable-pet w-full h-full flex items-center justify-center">
123
+ <div class="w-3/4 h-3/4 rounded-full bg-gradient-to-br from-purple-500 to-blue-600 shadow-xl flex items-center justify-center relative overflow-hidden">
124
+ <div class="absolute w-full h-full bg-white opacity-20 rounded-full" style="filter: blur(20px);"></div>
125
+ <div class="w-1/3 h-1/3 rounded-full bg-white opacity-30 animate-pulse"></div>
126
+ <div class="absolute top-1/4 left-1/4 w-4 h-4 rounded-full bg-white"></div>
127
+ <div class="absolute top-1/4 right-1/4 w-4 h-4 rounded-full bg-white"></div>
128
+ <div class="absolute bottom-1/3 left-1/2 w-1/2 h-6 rounded-full bg-pink-400 opacity-70" style="transform: translateX(-50%);"></div>
129
+ </div>
130
+ </div>
131
+ </div>
132
+ <button id="special-attack" class="game-font mt-4 px-6 py-2 bg-gradient-to-r from-pink-600 to-purple-600 rounded-full text-white shadow-lg hover:shadow-xl transform hover:scale-105 transition-all disabled:opacity-50 disabled:cursor-not-allowed">
133
+ ASTAL BURST (Ready!)
134
+ </button>
135
+ </div>
136
+
137
+ <!-- Upgrades Panel -->
138
+ <div class="w-full md:w-1/4 bg-gray-800 rounded-lg p-4 shadow-xl border-2 border-blue-700">
139
+ <h2 class="game-font text-xl text-blue-300 mb-4">UPGRADES</h2>
140
+
141
+ <div class="space-y-4">
142
+ <button id="upgrade-click" class="w-full game-font text-left px-4 py-2 bg-gradient-to-r from-purple-700 to-purple-900 rounded-lg flex justify-between items-center hover:scale-[1.02] transition-transform">
143
+ <span>Enhanced Clicks</span>
144
+ <span class="text-yellow-300" id="click-cost">50 CE</span>
145
+ </button>
146
+
147
+ <button id="buy-auto-clicker" class="w-full game-font text-left px-4 py-2 bg-gradient-to-r from-blue-700 to-blue-900 rounded-lg flex justify-between items-center hover:scale-[1.02] transition-transform">
148
+ <span>Cosmic Collector</span>
149
+ <span class="text-yellow-300" id="auto-clicker-cost">100 CE</span>
150
+ </button>
151
+
152
+ <button id="upgrade-auto" class="w-full game-font text-left px-4 py-2 bg-gradient-to-r from-green-700 to-green-900 rounded-lg flex justify-between items-center hover:scale-[1.02] transition-transform">
153
+ <span>Collector Efficiency</span>
154
+ <span class="text-yellow-300" id="auto-upgrade-cost">200 CE</span>
155
+ </button>
156
+ </div>
157
+
158
+ <h2 class="game-font text-xl text-pink-300 mt-6 mb-4">POWER-UPS</h2>
159
+ <div class="grid grid-cols-2 gap-2">
160
+ <button class="power-up game-font text-xs px-2 py-1 bg-gradient-to-b from-yellow-500 to-yellow-700 rounded-lg flex flex-col items-center justify-center">
161
+ <span>2x Clicks</span>
162
+ <span>30s</span>
163
+ <span>500 CE</span>
164
+ </button>
165
+ <button class="power-up game-font text-xs px-2 py-1 bg-gradient-to-b from-red-500 to-red-700 rounded-lg flex flex-col items-center justify-center">
166
+ <span>3x Auto</span>
167
+ <span>45s</span>
168
+ <span>750 CE</span>
169
+ </button>
170
+ <button class="power-up game-font text-xs px-2 py-1 bg-gradient-to-b from-purple-500 to-purple-700 rounded-lg flex flex-col items-center justify-center">
171
+ <span>CE Rain</span>
172
+ <span>60s</span>
173
+ <span>1000 CE</span>
174
+ </button>
175
+ <button class="power-up game-font text-xs px-2 py-1 bg-gradient-to-b from-blue-500 to-blue-700 rounded-lg flex flex-col items-center justify-center">
176
+ <span>Time Warp</span>
177
+ <span>90s</span>
178
+ <span>1500 CE</span>
179
+ </button>
180
+ </div>
181
+ </div>
182
+ </div>
183
+
184
+ <!-- Achievements -->
185
+ <div class="mt-12 bg-gray-800 rounded-lg p-4 border-2 border-yellow-700">
186
+ <h2 class="game-font text-xl text-yellow-300 mb-4">ACHIEVEMENTS</h2>
187
+ <div class="grid grid-cols-2 md:grid-cols-4 gap-4">
188
+ <div class="bg-gray-700 rounded p-2 border border-gray-600 flex items-center opacity-50">
189
+ <div class="w-8 h-8 rounded-full bg-yellow-500 flex items-center justify-center mr-2">
190
+ <span class="game-font text-xs">1</span>
191
+ </div>
192
+ <span class="game-font text-xs">First Click</span>
193
+ </div>
194
+ <div class="bg-gray-700 rounded p-2 border border-gray-600 flex items-center opacity-50">
195
+ <div class="w-8 h-8 rounded-full bg-yellow-500 flex items-center justify-center mr-2">
196
+ <span class="game-font text-xs">2</span>
197
+ </div>
198
+ <span class="game-font text-xs">100 Cosmic Energy</span>
199
+ </div>
200
+ <div class="bg-gray-700 rounded p-2 border border-gray-600 flex items-center opacity-50">
201
+ <div class="w-8 h-8 rounded-full bg-yellow-500 flex items-center justify-center mr-2">
202
+ <span class="game-font text-xs">3</span>
203
+ </div>
204
+ <span class="game-font text-xs">5 Collectors</span>
205
+ </div>
206
+ <div class="bg-gray-700 rounded p-2 border border-gray-600 flex items-center opacity-50">
207
+ <div class="w-8 h-8 rounded-full bg-yellow-500 flex items-center justify-center mr-2">
208
+ <span class="game-font text-xs">4</span>
209
+ </div>
210
+ <span class="game-font text-xs">Astral Master</span>
211
+ </div>
212
+ </div>
213
+ </div>
214
+ </div>
215
+
216
+ <!-- Footer -->
217
+ <footer class="game-font text-xs text-center py-4 bg-gray-800 border-t border-purple-900">
218
+ Made with <span class="text-pink-500">♥</span> in the cosmos | Save your progress by refreshing the page
219
+ </footer>
220
+
221
+ <script>
222
+ // Game state
223
+ const game = {
224
+ score: 0,
225
+ clickPower: 1,
226
+ autoClickers: 0,
227
+ autoPower: 0,
228
+ autoClickerBaseCost: 100,
229
+ clickUpgradeCost: 50,
230
+ autoUpgradeCost: 200,
231
+ level: 1,
232
+ experience: 0,
233
+ nextLevel: 100,
234
+ specialAttackReady: true,
235
+ powerUps: {
236
+ clickMultiplier: 1,
237
+ autoMultiplier: 1,
238
+ duration: 0
239
+ }
240
+ };
241
+
242
+ // DOM elements
243
+ const elements = {
244
+ score: document.getElementById('score'),
245
+ clickPower: document.getElementById('click-power'),
246
+ autoClickers: document.getElementById('auto-clickers'),
247
+ autoPower: document.getElementById('auto-power'),
248
+ clickablePet: document.getElementById('clickable-pet'),
249
+ petArea: document.getElementById('pet-area'),
250
+ upgradeClick: document.getElementById('upgrade-click'),
251
+ clickCost: document.getElementById('click-cost'),
252
+ buyAutoClicker: document.getElementById('buy-auto-clicker'),
253
+ autoClickerCost: document.getElementById('auto-clicker-cost'),
254
+ upgradeAuto: document.getElementById('upgrade-auto'),
255
+ autoUpgradeCost: document.getElementById('auto-upgrade-cost'),
256
+ specialAttack: document.getElementById('special-attack'),
257
+ level: document.getElementById('level'),
258
+ experienceBar: document.getElementById('experience-bar'),
259
+ nextLevel: document.getElementById('next-level')
260
+ };
261
+
262
+ // Load game from localStorage
263
+ function loadGame() {
264
+ const savedGame = localStorage.getItem('cosmicClickerSave');
265
+ if (savedGame) {
266
+ const parsed = JSON.parse(savedGame);
267
+ Object.assign(game, parsed);
268
+ updateUI();
269
+ }
270
+ }
271
+
272
+ // Save game to localStorage
273
+ function saveGame() {
274
+ localStorage.setItem('cosmicClickerSave', JSON.stringify(game));
275
+ }
276
+
277
+ // Update all UI elements
278
+ function updateUI() {
279
+ elements.score.textContent = Math.floor(game.score);
280
+ elements.clickPower.textContent = game.clickPower * game.powerUps.clickMultiplier;
281
+ elements.autoClickers.textContent = game.autoClickers;
282
+ elements.autoPower.textContent = (game.autoPower * game.powerUps.autoMultiplier).toFixed(1);
283
+ elements.clickCost.textContent = `${Math.floor(game.clickUpgradeCost)} CE`;
284
+ elements.autoClickerCost.textContent = `${Math.floor(game.autoClickerBaseCost * Math.pow(1.15, game.autoClickers))} CE`;
285
+ elements.autoUpgradeCost.textContent = `${Math.floor(game.autoUpgradeCost)} CE`;
286
+ elements.level.textContent = game.level;
287
+
288
+ const expPercentage = (game.experience / game.nextLevel) * 100;
289
+ elements.experienceBar.style.width = `${expPercentage}%`;
290
+ elements.nextLevel.textContent = Math.ceil(game.nextLevel - game.experience);
291
+
292
+ // Disable buttons if player can't afford them
293
+ elements.upgradeClick.disabled = game.score < game.clickUpgradeCost;
294
+ elements.buyAutoClicker.disabled = game.score < (game.autoClickerBaseCost * Math.pow(1.15, game.autoClickers));
295
+ elements.upgradeAuto.disabled = game.score < game.autoUpgradeCost;
296
+ }
297
+
298
+ // Add cosmic energy
299
+ function addScore(amount) {
300
+ game.score += amount;
301
+ game.experience += amount;
302
+
303
+ // Check for level up
304
+ if (game.experience >= game.nextLevel) {
305
+ game.level++;
306
+ game.experience -= game.nextLevel;
307
+ game.nextLevel = Math.floor(game.nextLevel * 1.5);
308
+
309
+ // Level up effect
310
+ createParticles(elements.petArea, 30, 'text-yellow-300', '★');
311
+ elements.level.classList.add('animate-ping');
312
+ setTimeout(() => {
313
+ elements.level.classList.remove('animate-ping');
314
+ }, 1000);
315
+ }
316
+
317
+ updateUI();
318
+ saveGame();
319
+ }
320
+
321
+ // Create visual particles
322
+ function createParticles(parent, count, color, content) {
323
+ for (let i = 0; i < count; i++) {
324
+ const particle = document.createElement('div');
325
+ particle.className = `particle ${color} game-font text-sm`;
326
+ particle.textContent = content;
327
+
328
+ // Random position
329
+ const rect = parent.getBoundingClientRect();
330
+ const x = Math.random() * rect.width;
331
+ const y = Math.random() * rect.height;
332
+
333
+ particle.style.left = `${x}px`;
334
+ particle.style.top = `${y}px`;
335
+
336
+ // Random animation
337
+ const angle = Math.random() * Math.PI * 2;
338
+ const distance = 50 + Math.random() * 50;
339
+ const duration = 1 + Math.random() * 2;
340
+
341
+ particle.style.opacity = '1';
342
+ particle.style.transform = `scale(${0.5 + Math.random()})`;
343
+
344
+ parent.appendChild(particle);
345
+
346
+ // Animate
347
+ setTimeout(() => {
348
+ particle.style.transition = `all ${duration}s ease-out`;
349
+ particle.style.transform = `translate(${Math.cos(angle) * distance}px, ${Math.sin(angle) * distance}px) scale(0.1)`;
350
+ particle.style.opacity = '0';
351
+ }, 10);
352
+
353
+ // Remove after animation
354
+ setTimeout(() => {
355
+ parent.removeChild(particle);
356
+ }, duration * 1000);
357
+ }
358
+ }
359
+
360
+ // Special attack
361
+ function specialAttack() {
362
+ if (!game.specialAttackReady) return;
363
+
364
+ game.specialAttackReady = false;
365
+ elements.specialAttack.disabled = true;
366
+ elements.specialAttack.textContent = 'Recharging...';
367
+
368
+ // Big click effect
369
+ const power = game.clickPower * 20 * game.powerUps.clickMultiplier;
370
+ addScore(power);
371
+
372
+ // Visual effect
373
+ elements.clickablePet.style.transform = 'scale(0.8)';
374
+ setTimeout(() => {
375
+ elements.clickablePet.style.transform = 'scale(1)';
376
+ }, 200);
377
+
378
+ createParticles(elements.petArea, 50, 'text-purple-300', '+');
379
+
380
+ // Recharge after 30 seconds
381
+ setTimeout(() => {
382
+ game.specialAttackReady = true;
383
+ elements.specialAttack.disabled = false;
384
+ elements.specialAttack.textContent = 'ASTAL BURST (Ready!)';
385
+ }, 30000);
386
+ }
387
+
388
+ // Auto clicker logic
389
+ function autoClickerTick() {
390
+ if (game.autoClickers > 0) {
391
+ const earned = game.autoPower * game.powerUps.autoMultiplier / 10;
392
+ addScore(earned);
393
+ }
394
+ }
395
+
396
+ // Initialize game
397
+ function init() {
398
+ loadGame();
399
+
400
+ // Set up click handler
401
+ elements.clickablePet.addEventListener('click', () => {
402
+ const power = game.clickPower * game.powerUps.clickMultiplier;
403
+ addScore(power);
404
+
405
+ // Visual feedback
406
+ elements.clickablePet.style.transform = 'scale(0.95)';
407
+ setTimeout(() => {
408
+ elements.clickablePet.style.transform = 'scale(1)';
409
+ }, 200);
410
+
411
+ createParticles(elements.petArea, 5, 'text-white', '+');
412
+ });
413
+
414
+ // Set up upgrade buttons
415
+ elements.upgradeClick.addEventListener('click', () => {
416
+ if (game.score >= game.clickUpgradeCost) {
417
+ game.score -= game.clickUpgradeCost;
418
+ game.clickPower += 1;
419
+ game.clickUpgradeCost = Math.floor(game.clickUpgradeCost * 1.5);
420
+
421
+ // Visual effect
422
+ createParticles(elements.upgradeClick, 10, 'text-purple-300', '↑');
423
+
424
+ updateUI();
425
+ saveGame();
426
+ }
427
+ });
428
+
429
+ elements.buyAutoClicker.addEventListener('click', () => {
430
+ const cost = game.autoClickerBaseCost * Math.pow(1.15, game.autoClickers);
431
+ if (game.score >= cost) {
432
+ game.score -= cost;
433
+ game.autoClickers += 1;
434
+ game.autoPower += 0.5;
435
+
436
+ // Visual effect
437
+ createParticles(elements.buyAutoClicker, 10, 'text-blue-300', '↑');
438
+
439
+ updateUI();
440
+ saveGame();
441
+ }
442
+ });
443
+
444
+ elements.upgradeAuto.addEventListener('click', () => {
445
+ if (game.score >= game.autoUpgradeCost) {
446
+ game.score -= game.autoUpgradeCost;
447
+ game.autoPower += 0.2;
448
+ game.autoUpgradeCost = Math.floor(game.autoUpgradeCost * 1.4);
449
+
450
+ // Visual effect
451
+ createParticles(elements.upgradeAuto, 10, 'text-green-300', '↑');
452
+
453
+ updateUI();
454
+ saveGame();
455
+ }
456
+ });
457
+
458
+ // Special attack
459
+ elements.specialAttack.addEventListener('click', specialAttack);
460
+
461
+ // Set up auto clicker interval
462
+ setInterval(autoClickerTick, 100);
463
+
464
+ // Periodic save
465
+ setInterval(saveGame, 10000);
466
+
467
+ // Initial UI update
468
+ updateUI();
469
+
470
+ // Unlock first achievement
471
+ setTimeout(() => {
472
+ document.querySelector('.game-container').classList.add('animate-pulse');
473
+ setTimeout(() => {
474
+ document.querySelector('.game-container').classList.remove('animate-pulse');
475
+ }, 1000);
476
+ }, 1000);
477
+ }
478
+
479
+ // Start the game
480
+ init();
481
+ </script>
482
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=A3qualityo/cosmic-energy" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
483
+ </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Jo game tum bahut hi jyada achchhe se bana sakte ho vo banao