Spaces:
Running
Running
File size: 20,924 Bytes
f19198e b588e38 f19198e b588e38 f19198e b588e38 f19198e b588e38 f19198e b588e38 f19198e b588e38 f19198e b588e38 f19198e b588e38 f19198e b588e38 f19198e b588e38 f19198e b588e38 f19198e b588e38 f19198e b588e38 f19198e b588e38 f19198e b588e38 f19198e b588e38 f19198e b588e38 f19198e b588e38 f19198e b588e38 f19198e b588e38 f19198e b588e38 f19198e b588e38 f19198e b588e38 f19198e b588e38 f19198e b588e38 f19198e b588e38 f19198e b588e38 f19198e | 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 | <!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>MegaGameHub - 9,696,987,456,321 Jeux Uniques!</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.game-card {
transition: all 0.3s ease;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
border: 1px solid rgba(255, 255, 255, 0.1);
}
.game-card:hover {
transform: translateY(-5px) scale(1.02);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
border-color: rgba(255, 255, 255, 0.3);
}
.game-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
gap: 1.5rem;
}
.countdown {
font-family: 'Courier New', monospace;
background: rgba(0, 0, 0, 0.7);
border-radius: 10px;
padding: 5px 10px;
}
.pulse {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
.glow {
text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}
.neon-border {
border: 2px solid transparent;
border-image: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00, #ff00ff) 1;
animation: borderGlow 4s linear infinite;
}
@keyframes borderGlow {
0% { border-image-source: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00, #ff00ff); }
25% { border-image-source: linear-gradient(45deg, #00ffff, #ffff00, #ff00ff, #00ffff); }
50% { border-image-source: linear-gradient(45deg, #ffff00, #ff00ff, #00ffff, #ffff00); }
75% { border-image-source: linear-gradient(45deg, #ff00ff, #00ffff, #ffff00, #ff00ff); }
100% { border-image-source: linear-gradient(45deg, #00ffff, #ffff00, #ff00ff, #00ffff); }
}
.loading-spinner {
width: 40px;
height: 40px;
border: 4px solid rgba(255, 255, 255, 0.3);
border-radius: 50%;
border-top-color: #8b5cf6;
animation: spin 1s ease-in-out infinite;
margin: 20px auto;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
</style>
</head>
<body class="bg-gray-900 text-white">
<!-- Header with Countdown -->
<header class="bg-black py-6 px-4 shadow-xl">
<div class="container mx-auto flex flex-col md:flex-row justify-between items-center">
<div class="flex items-center mb-4 md:mb-0">
<i class="fas fa-gamepad text-4xl text-purple-500 mr-3"></i>
<h1 class="text-3xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-purple-400 via-pink-500 to-red-500">
MegaGameHub
</h1>
</div>
<div class="flex items-center space-x-6">
<div class="countdown">
<span id="gamesCount">9,696,987,456,321</span> jeux disponibles
</div>
<div class="relative group">
<button class="bg-purple-600 hover:bg-purple-700 px-4 py-2 rounded-lg flex items-center pulse">
<i class="fas fa-bolt mr-2"></i> Nouveautés
</button>
<div class="absolute hidden group-hover:block bg-gray-800 p-4 rounded-lg shadow-xl z-10 right-0 mt-2 w-64">
<h3 class="font-bold mb-2">Dernières sorties</h3>
<ul class="space-y-2">
<li class="flex items-center">
<span class="w-2 h-2 bg-green-500 rounded-full mr-2"></span>
<span>Cosmic Adventure 5</span>
</li>
<li class="flex items-center">
<span class="w-2 h-2 bg-blue-500 rounded-full mr-2"></span>
<span>Zombie Survival Pro</span>
</li>
<li class="flex items-center">
<span class="w-2 h-2 bg-red-500 rounded-full mr-2"></span>
<span>Racing Extreme 2024</span>
</li>
</ul>
</div>
</div>
</div>
</div>
</header>
<!-- Main Content -->
<main class="container mx-auto py-8 px-4">
<!-- Game Categories -->
<div class="flex overflow-x-auto pb-4 mb-8 scrollbar-hide">
<div class="flex space-x-3">
<button class="px-4 py-2 bg-gray-800 hover:bg-gray-700 rounded-lg whitespace-nowrap">Tous les jeux</button>
<button class="px-4 py-2 bg-gray-800 hover:bg-gray-700 rounded-lg whitespace-nowrap">Action</button>
<button class="px-4 py-2 bg-gray-800 hover:bg-gray-700 rounded-lg whitespace-nowrap">Aventure</button>
<button class="px-4 py-2 bg-gray-800 hover:bg-gray-700 rounded-lg whitespace-nowrap">Stratégie</button>
<button class="px-4 py-2 bg-gray-800 hover:bg-gray-700 rounded-lg whitespace-nowrap">Sport</button>
<button class="px-4 py-2 bg-gray-800 hover:bg-gray-700 rounded-lg whitespace-nowrap">RPG</button>
<button class="px-4 py-2 bg-gray-800 hover:bg-gray-700 rounded-lg whitespace-nowrap">Simulation</button>
<button class="px-4 py-2 bg-gray-800 hover:bg-gray-700 rounded-lg whitespace-nowrap">Multijoueur</button>
</div>
</div>
<!-- Featured Games -->
<section class="mb-12">
<h2 class="text-2xl font-bold mb-6 flex items-center">
<span class="glow">Jeux vedettes</span>
<span class="ml-2 text-xs bg-red-500 px-2 py-1 rounded-full">Nouveau</span>
</h2>
<div class="game-grid">
<!-- Featured games will be added here -->
</div>
</section>
<!-- All Games -->
<section>
<div class="flex justify-between items-center mb-6">
<h2 class="text-2xl font-bold">Tous les jeux</h2>
<div class="flex items-center space-x-3">
<div class="relative">
<input type="text" placeholder="Rechercher un jeu..." class="bg-gray-800 border border-gray-700 rounded-lg px-4 py-2 pl-10 w-64">
<i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
</div>
<button onclick="generateGames()" class="bg-purple-600 hover:bg-purple-700 px-4 py-2 rounded-lg flex items-center">
<i class="fas fa-random mr-2"></i> Générer
</button>
<div class="relative">
<input type="number" id="gameCount" value="20" min="1" max="100"
class="w-20 px-4 py-2 bg-gray-800 border border-gray-700 rounded-lg">
</div>
</div>
</div>
<div id="gamesContainer" class="game-grid">
<!-- All games will be added here -->
</div>
<div id="loadingIndicator" class="hidden">
<div class="loading-spinner"></div>
<p class="text-center text-gray-400">Chargement de plus de jeux...</p>
</div>
</section>
</main>
<!-- Footer -->
<footer class="bg-black py-8 mt-12">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="text-xl font-bold mb-4">MegaGameHub</h3>
<p class="text-gray-400">La plus grande plateforme de jeux au monde avec 9,696,987,456,321 jeux uniques!</p>
</div>
<div>
<h4 class="font-bold mb-4">Catégories</h4>
<ul class="space-y-2 text-gray-400">
<li><a href="#" class="hover:text-white">Action</a></li>
<li><a href="#" class="hover:text-white">Aventure</a></li>
<li><a href="#" class="hover:text-white">Stratégie</a></li>
<li><a href="#" class="hover:text-white">Sport</a></li>
</ul>
</div>
<div>
<h4 class="font-bold mb-4">Support</h4>
<ul class="space-y-2 text-gray-400">
<li><a href="#" class="hover:text-white">Centre d'aide</a></li>
<li><a href="#" class="hover:text-white">Contact</a></li>
<li><a href="#" class="hover:text-white">FAQ</a></li>
<li><a href="#" class="hover:text-white">Politique de confidentialité</a></li>
</ul>
</div>
<div>
<h4 class="font-bold mb-4">Réseaux sociaux</h4>
<div class="flex space-x-4">
<a href="#" class="w-10 h-10 bg-gray-800 rounded-full flex items-center justify-center hover:bg-purple-600">
<i class="fab fa-facebook-f"></i>
</a>
<a href="#" class="w-10 h-10 bg-gray-800 rounded-full flex items-center justify-center hover:bg-blue-400">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="w-10 h-10 bg-gray-800 rounded-full flex items-center justify-center hover:bg-pink-600">
<i class="fab fa-instagram"></i>
</a>
<a href="#" class="w-10 h-10 bg-gray-800 rounded-full flex items-center justify-center hover:bg-red-600">
<i class="fab fa-youtube"></i>
</a>
</div>
</div>
</div>
<div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-500">
<p>© 2024 MegaGameHub. Tous droits réservés.</p>
</div>
</div>
</footer>
<script>
// Game data with automatic opening URLs
const gameData = [
{ name: "Cosmic Adventure 5", genre: "Aventure", icon: "fas fa-rocket", color: "bg-gradient-to-br from-purple-500 to-blue-500", url: "https://www.miniclip.com/games/en/" },
{ name: "Zombie Survival Pro", genre: "Action", icon: "fas fa-skull", color: "bg-gradient-to-br from-green-500 to-gray-800", url: "https://www.crazygames.com/" },
{ name: "Racing Extreme 2024", genre: "Course", icon: "fas fa-car", color: "bg-gradient-to-br from-red-500 to-yellow-500", url: "https://www.silvergames.com/" },
{ name: "Fantasy Kingdom", genre: "Stratégie", icon: "fas fa-crown", color: "bg-gradient-to-br from-yellow-500 to-orange-500", url: "https://www.agame.com/" },
{ name: "Space Warriors", genre: "Action", icon: "fas fa-space-shuttle", color: "bg-gradient-to-br from-blue-400 to-indigo-900", url: "https://www.kongregate.com/" },
{ name: "Puzzle Master", genre: "Réflexion", icon: "fas fa-puzzle-piece", color: "bg-gradient-to-br from-teal-400 to-blue-600", url: "https://www.puzzle.com/" },
{ name: "Football Legends", genre: "Sport", icon: "fas fa-futbol", color: "bg-gradient-to-br from-green-600 to-blue-800", url: "https://www.coolmathgames.com/" },
{ name: "Dragon Quest", genre: "RPG", icon: "fas fa-dragon", color: "bg-gradient-to-br from-red-600 to-purple-800", url: "https://www.armorgames.com/" },
{ name: "Farm Simulator", genre: "Simulation", icon: "fas fa-tractor", color: "bg-gradient-to-br from-green-400 to-yellow-600", url: "https://www.friv.com/" },
{ name: "Battle Royale", genre: "Action", icon: "fas fa-crosshairs", color: "bg-gradient-to-br from-gray-800 to-red-800", url: "https://www.hoodamath.com/" },
{ name: "Mystery Mansion", genre: "Aventure", icon: "fas fa-ghost", color: "bg-gradient-to-br from-purple-800 to-gray-900", url: "https://www.addictinggames.com/" },
{ name: "Chess Pro", genre: "Stratégie", icon: "fas fa-chess", color: "bg-gradient-to-br from-gray-300 to-gray-700", url: "https://www.chess.com/" },
{ name: "Ninja Warrior", genre: "Action", icon: "fas fa-user-ninja", color: "bg-gradient-to-br from-gray-600 to-black", url: "https://www.nitrotype.com/" },
{ name: "Pirate Treasure", genre: "Aventure", icon: "fas fa-skull-crossbones", color: "bg-gradient-to-br from-yellow-600 to-brown-800", url: "https://www.poki.com/" },
{ name: "Basketball Pro", genre: "Sport", icon: "fas fa-basketball-ball", color: "bg-gradient-to-br from-orange-500 to-red-600", url: "https://www.coolmathgames.com/" },
{ name: "Magic School", genre: "RPG", icon: "fas fa-hat-wizard", color: "bg-gradient-to-br from-purple-500 to-indigo-800", url: "https://www.roblox.com/" },
{ name: "City Builder", genre: "Simulation", icon: "fas fa-city", color: "bg-gradient-to-br from-blue-400 to-teal-600", url: "https://www.silvergames.com/" },
{ name: "Space Miner", genre: "Aventure", icon: "fas fa-gem", color: "bg-gradient-to-br from-blue-600 to-black", url: "https://www.miniclip.com/games/en/" },
{ name: "Snowboard Extreme", genre: "Sport", icon: "fas fa-snowboarding", color: "bg-gradient-to-br from-blue-300 to-white", url: "https://www.crazygames.com/" },
{ name: "Wild West", genre: "Action", icon: "fas fa-horse", color: "bg-gradient-to-br from-brown-600 to-yellow-700", url: "https://www.kongregate.com/" }
];
// Variables for infinite scroll
let isLoading = false;
let currentPage = 1;
const gamesPerPage = 20;
// Generate random game cards
function generateGames(append = false) {
if (isLoading) return;
isLoading = true;
document.getElementById('loadingIndicator').classList.remove('hidden');
// Simulate network delay
setTimeout(() => {
const gamesContainer = document.getElementById('gamesContainer');
if (!append) {
gamesContainer.innerHTML = '';
currentPage = 1;
}
const count = append ? gamesPerPage : (parseInt(document.getElementById('gameCount').value) || gamesPerPage);
for (let i = 0; i < count; i++) {
const game = gameData[Math.floor(Math.random() * gameData.length)];
const gameId = Math.floor(Math.random() * 9696987456321) + 1;
const gameCard = document.createElement('div');
gameCard.className = 'game-card rounded-lg overflow-hidden cursor-pointer';
gameCard.innerHTML = `
<div class="relative h-40 ${game.color} flex items-center justify-center">
<i class="${game.icon} text-5xl"></i>
<div class="absolute bottom-2 right-2 bg-black bg-opacity-70 px-2 py-1 rounded text-xs">
#${gameId.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",")}
</div>
</div>
<div class="p-4">
<h3 class="font-bold mb-1">${game.name}</h3>
<p class="text-gray-400 text-sm mb-2">${game.genre}</p>
<div class="flex justify-between items-center">
<span class="text-xs bg-gray-800 px-2 py-1 rounded">${(Math.random() * 1 + 4).toFixed(1)} <i class="fas fa-star text-yellow-400"></i></span>
<button class="text-xs bg-purple-600 hover:bg-purple-700 px-3 py-1 rounded">
Jouer <i class="fas fa-play ml-1"></i>
</button>
</div>
</div>
`;
// Auto-open game in new tab when clicked
gameCard.onclick = () => {
window.open(game.url, '_blank');
};
gamesContainer.appendChild(gameCard);
}
currentPage++;
isLoading = false;
document.getElementById('loadingIndicator').classList.add('hidden');
}, 800);
}
// Check if user has scrolled to bottom of page
function checkScroll() {
const { scrollTop, scrollHeight, clientHeight } = document.documentElement;
if (scrollTop + clientHeight >= scrollHeight - 100 && !isLoading) {
generateGames(true);
}
}
// Animate the game count
function animateCount() {
let count = 9696987456321;
const element = document.getElementById('gamesCount');
const duration = 3000;
const start = Date.now();
const timer = setInterval(() => {
const timePassed = Date.now() - start;
const progress = Math.min(timePassed / duration, 1);
const currentCount = Math.floor(progress * count);
element.textContent = currentCount.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
if (progress === 1) clearInterval(timer);
}, 16);
}
// Initialize on load
window.onload = function() {
generateGames();
animateCount();
// Also generate featured games
const featuredGrid = document.querySelector('.game-grid');
for (let i = 0; i < 4; i++) {
const game = gameData[i];
const gameCard = document.createElement('div');
gameCard.className = 'game-card rounded-lg overflow-hidden cursor-pointer neon-border';
gameCard.innerHTML = `
<div class="relative h-48 ${game.color} flex items-center justify-center">
<i class="${game.icon} text-6xl"></i>
<div class="absolute top-2 left-2 bg-black bg-opacity-70 px-2 py-1 rounded text-xs">
<i class="fas fa-bolt text-yellow-400 mr-1"></i> Nouveau
</div>
</div>
<div class="p-4">
<h3 class="font-bold mb-1 text-lg">${game.name}</h3>
<p class="text-gray-400 text-sm mb-3">${game.genre}</p>
<button class="w-full bg-gradient-to-r from-purple-500 to-pink-500 hover:from-purple-600 hover:to-pink-600 px-4 py-2 rounded-lg font-medium">
Jouer maintenant <i class="fas fa-arrow-right ml-2"></i>
</button>
</div>
`;
// Auto-open game in new tab when clicked
gameCard.onclick = () => {
window.open(game.url, '_blank');
};
featuredGrid.appendChild(gameCard);
}
};
// Add scroll event listener for infinite scroll
window.addEventListener('scroll', checkScroll);
</script>
<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=docto41/auto-buttons" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html> |