Etik94 commited on
Commit
27b5651
Β·
verified Β·
1 Parent(s): aa5b92d

make the Congratulations Window more colorful - Follow Up Deployment

Browse files
Files changed (2) hide show
  1. index.html +13 -44
  2. prompts.txt +5 -1
index.html CHANGED
@@ -68,7 +68,7 @@
68
  <div class="relative z-10 text-center px-4">
69
  <h1 class="text-5xl md:text-7xl font-bold mb-6" data-aos="fade-down">Bubble Trouble</h1>
70
  <p class="text-xl md:text-2xl mb-8 max-w-2xl mx-auto" data-aos="fade-up" data-aos-delay="200">
71
- Experience the ultimate physics-based bubble popping adventure!
72
  </p>
73
  <div class="flex flex-col sm:flex-row gap-4 justify-center" data-aos="zoom-in" data-aos-delay="400">
74
  <a href="#play" class="bg-pink-600 hover:bg-pink-700 text-white font-bold py-3 px-6 rounded-full transition-all transform hover:scale-105 shadow-lg">
@@ -79,7 +79,6 @@
79
  </a>
80
  </div>
81
  </div>
82
- <canvas id="bubbleCanvas" class="absolute inset-0 z-0 pointer-events-none"></canvas>
83
  </div>
84
 
85
  <section id="play" class="py-20 px-4">
@@ -88,9 +87,9 @@
88
  <div class="game-container grid grid-cols-1 gap-8 items-center justify-center">
89
  <div data-aos="fade-right">
90
  </div>
91
- <div data-aos="fade-left" data-aos-delay="200" class="mx-auto">
92
  <div class="bg-white/10 backdrop-blur-md rounded-2xl p-8 shadow-xl w-full max-w-md">
93
- <h3 class="text-2xl font-bold mb-6">Start Playing</h3>
94
  <div class="space-y-4 mb-6">
95
  <div>
96
  <label class="block mb-2">Your Name</label>
@@ -108,50 +107,15 @@
108
  <button class="w-full bg-gradient-to-r from-pink-500 to-purple-600 hover:from-pink-600 hover:to-purple-700 text-white font-bold py-4 px-6 rounded-full transition-all transform hover:scale-105 mb-6 disabled:opacity-50" disabled>
109
  Start Game
110
  </button>
111
- <p class="text-sm opacity-80">No installation required. Play directly in your browser!</p>
112
  </div>
113
  </div>
114
  </div>
115
  </div>
116
  </section>
117
 
118
- <section id="features" class="py-20 bg-white/5 px-4 hidden">
119
- <div class="max-w-6xl mx-auto">
120
- <h2 class="text-3xl md:text-4xl font-bold text-center mb-16" data-aos="fade-up">Game Features</h2>
121
- <div class="grid grid-cols-1 md:grid-cols-4 gap-6">
122
- <div class="bg-gradient-to-b from-blue-900/20 to-blue-900/40 p-8 rounded-2xl backdrop-blur-sm" data-aos="fade-up" data-aos-delay="0">
123
- <div class="w-16 h-16 bg-blue-600 rounded-xl flex items-center justify-center mb-6">
124
- <i data-feather="cpu" class="w-8 h-8"></i>
125
- </div>
126
- <h3 class="text-xl font-bold mb-3">Advanced Physics</h3>
127
- <p class="opacity-90">Realistic bubble physics with gravity, collision and fluid simulation for an immersive experience.</p>
128
- </div>
129
- <div class="bg-gradient-to-b from-purple-900/20 to-purple-900/40 p-8 rounded-2xl backdrop-blur-sm" data-aos="fade-up" data-aos-delay="200">
130
- <div class="w-16 h-16 bg-purple-600 rounded-xl flex items-center justify-center mb-6">
131
- <i data-feather="award" class="w-8 h-8"></i>
132
- </div>
133
- <h3 class="text-xl font-bold mb-3">Multiple Levels</h3>
134
- <p class="opacity-90">50+ challenging levels with increasing difficulty and unique bubble patterns to master.</p>
135
- </div>
136
- <div class="bg-gradient-to-b from-pink-900/20 to-pink-900/40 p-8 rounded-2xl backdrop-blur-sm" data-aos="fade-up" data-aos-delay="400">
137
- <div class="w-16 h-16 bg-pink-600 rounded-xl flex items-center justify-center mb-6">
138
- <i data-feather="users" class="w-8 h-8"></i>
139
- </div>
140
- <h3 class="text-xl font-bold mb-3">Multiplayer Mode</h3>
141
- <p class="opacity-90">Compete with friends in real-time or challenge players worldwide in our leaderboards.</p>
142
- </div>
143
- <div class="bg-gradient-to-b from-green-900/20 to-green-900/40 p-8 rounded-2xl backdrop-blur-sm" data-aos="fade-up" data-aos-delay="600">
144
- <div class="w-16 h-16 bg-green-600 rounded-xl flex items-center justify-center mb-6">
145
- <i data-feather="award" class="w-8 h-8"></i>
146
- </div>
147
- <h3 class="text-xl font-bold mb-3">Daily Challenges</h3>
148
- <p class="opacity-90">Complete special daily challenges to earn exclusive rewards and bonus points.</p>
149
- </div>
150
- </div>
151
- </div>
152
- </section>
153
 
154
- <section class="py-20 px-4 hidden">
155
  <div class="max-w-6xl mx-auto">
156
  <div class="bg-gradient-to-r from-purple-900/30 to-blue-900/30 rounded-2xl p-8 md:p-12 backdrop-blur-sm" data-aos="zoom-in">
157
  <div class="flex flex-col md:flex-row items-center gap-8">
@@ -395,9 +359,14 @@
395
 
396
  const gameArea = document.getElementById('gameArea');
397
  gameArea.innerHTML = `
398
- <div class="absolute inset-0 flex items-center justify-center flex-col bg-green-500/50">
399
- <h3 class="text-4xl font-bold mb-4">Congratulations!</h3>
400
- <p class="text-2xl">Your score: ${score}</p>
 
 
 
 
 
401
  </div>
402
  `;
403
 
 
68
  <div class="relative z-10 text-center px-4">
69
  <h1 class="text-5xl md:text-7xl font-bold mb-6" data-aos="fade-down">Bubble Trouble</h1>
70
  <p class="text-xl md:text-2xl mb-8 max-w-2xl mx-auto" data-aos="fade-up" data-aos-delay="200">
71
+ Pop as many smiley bubbles as you can in 30 seconds!
72
  </p>
73
  <div class="flex flex-col sm:flex-row gap-4 justify-center" data-aos="zoom-in" data-aos-delay="400">
74
  <a href="#play" class="bg-pink-600 hover:bg-pink-700 text-white font-bold py-3 px-6 rounded-full transition-all transform hover:scale-105 shadow-lg">
 
79
  </a>
80
  </div>
81
  </div>
 
82
  </div>
83
 
84
  <section id="play" class="py-20 px-4">
 
87
  <div class="game-container grid grid-cols-1 gap-8 items-center justify-center">
88
  <div data-aos="fade-right">
89
  </div>
90
+ <div data-aos="fade-up" data-aos-delay="200" class="mx-auto">
91
  <div class="bg-white/10 backdrop-blur-md rounded-2xl p-8 shadow-xl w-full max-w-md">
92
+ <h3 class="text-2xl font-bold mb-6 text-center">Start Playing</h3>
93
  <div class="space-y-4 mb-6">
94
  <div>
95
  <label class="block mb-2">Your Name</label>
 
107
  <button class="w-full bg-gradient-to-r from-pink-500 to-purple-600 hover:from-pink-600 hover:to-purple-700 text-white font-bold py-4 px-6 rounded-full transition-all transform hover:scale-105 mb-6 disabled:opacity-50" disabled>
108
  Start Game
109
  </button>
110
+ <p class="text-sm opacity-80 text-center">Works on any device - PC, Mac, phone or tablet!</p>
111
  </div>
112
  </div>
113
  </div>
114
  </div>
115
  </section>
116
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
117
 
118
+ <section class="py-20 px-4">
119
  <div class="max-w-6xl mx-auto">
120
  <div class="bg-gradient-to-r from-purple-900/30 to-blue-900/30 rounded-2xl p-8 md:p-12 backdrop-blur-sm" data-aos="zoom-in">
121
  <div class="flex flex-col md:flex-row items-center gap-8">
 
359
 
360
  const gameArea = document.getElementById('gameArea');
361
  gameArea.innerHTML = `
362
+ <div class="absolute inset-0 flex items-center justify-center flex-col bg-gradient-to-br from-pink-500 via-purple-500 to-blue-500">
363
+ <h3 class="text-6xl font-bold mb-6 text-white animate-bounce">πŸŽ‰ Congratulations! πŸŽ‰</h3>
364
+ <p class="text-4xl text-yellow-300 font-bold animate-pulse">Your score: ${score}</p>
365
+ <div class="mt-8 flex space-x-4">
366
+ <div class="text-4xl animate-spin">✨</div>
367
+ <div class="text-4xl animate-ping">πŸ†</div>
368
+ <div class="text-4xl animate-bounce">⭐</div>
369
+ </div>
370
  </div>
371
  `;
372
 
prompts.txt CHANGED
@@ -8,4 +8,8 @@ Delete it
8
  Put this in the Center of the Page
9
  Let the game take around 30 Seconds and the Data ? your Name, Institution and Score should be placed in a excel sheet after the 30 seconds it should pop up a congratulation sigh for around 5 seconds and after that it should get back to the fist page
10
  Put this backround on the next page
11
- Let this game run on a PC, MAC on a phone or on a tablet
 
 
 
 
 
8
  Put this in the Center of the Page
9
  Let the game take around 30 Seconds and the Data ? your Name, Institution and Score should be placed in a excel sheet after the 30 seconds it should pop up a congratulation sigh for around 5 seconds and after that it should get back to the fist page
10
  Put this backround on the next page
11
+ Let this game run on a PC, MAC on a phone or on a tablet
12
+ Let it work on the Web page as well
13
+ Delite it
14
+ delite it
15
+ make the Congratulations Window more colorful