Spaces:
Running
Running
| <html lang="fr"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Squid Game - Application de Jeux</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet"> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Noto+Sans:wght@300;400;600&display=swap'); | |
| :root { | |
| --squid-pink: #ff006e; | |
| --squid-green: #06ffa5; | |
| --squid-dark: #0a0a0a; | |
| --squid-gray: #1a1a1a; | |
| --neon-glow: 0 0 20px var(--squid-pink); | |
| } | |
| body { | |
| font-family: 'Noto Sans', sans-serif; | |
| background: var(--squid-dark); | |
| color: white; | |
| overflow-x: hidden; | |
| } | |
| .orbitron { | |
| font-family: 'Orbitron', monospace; | |
| } | |
| .neon-text { | |
| color: var(--squid-pink); | |
| text-shadow: var(--neon-glow); | |
| animation: pulse 2s ease-in-out infinite alternate; | |
| } | |
| @keyframes pulse { | |
| from { opacity: 0.8; } | |
| to { opacity: 1; } | |
| } | |
| .glass-morphism { | |
| background: rgba(255, 255, 255, 0.05); | |
| backdrop-filter: blur(10px); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| } | |
| .game-card { | |
| transition: all 0.3s ease; | |
| transform: translateY(0); | |
| } | |
| .game-card:hover { | |
| transform: translateY(-10px); | |
| box-shadow: 0 20px 40px rgba(255, 0, 110, 0.3); | |
| } | |
| .play-button { | |
| background: linear-gradient(45deg, var(--squid-pink), var(--squid-green)); | |
| transition: all 0.3s ease; | |
| } | |
| .play-button:hover { | |
| transform: scale(1.05); | |
| box-shadow: 0 0 30px var(--squid-pink); | |
| } | |
| .modal { | |
| backdrop-filter: blur(20px); | |
| background: rgba(0, 0, 0, 0.8); | |
| } | |
| .player-count { | |
| animation: countUp 1s ease-out; | |
| } | |
| @keyframes countUp { | |
| from { transform: scale(0.5); opacity: 0; } | |
| to { transform: scale(1); opacity: 1; } | |
| } | |
| .marble { | |
| width: 40px; | |
| height: 40px; | |
| border-radius: 50%; | |
| background: radial-gradient(circle at 30% 30%, white, #ddd); | |
| box-shadow: 0 2px 10px rgba(0,0,0,0.3); | |
| } | |
| .red-light { | |
| background: #dc2626; | |
| animation: redPulse 1s ease-in-out infinite; | |
| } | |
| @keyframes redPulse { | |
| 0%, 100% { opacity: 0.8; } | |
| 50% { opacity: 1; } | |
| } | |
| .green-light { | |
| background: #16a34a; | |
| animation: greenPulse 1s ease-in-out infinite; | |
| } | |
| @keyframes greenPulse { | |
| 0%, 100% { opacity: 0.8; } | |
| 50% { opacity: 1; } | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-black min-h-screen"> | |
| <!-- Navigation --> | |
| <nav class="fixed top-0 w-full z-50 glass-morphism"> | |
| <div class="container mx-auto px-6 py-4"> | |
| <div class="flex justify-between items-center"> | |
| <h1 class="text-2xl orbitron font-bold neon-text">SQUID GAME</h1> | |
| <div class="flex items-center space-x-4"> | |
| <span class="text-sm">Points: <span id="playerPoints" class="text-green-400 font-bold">0</span></span> | |
| <button id="settingsBtn" class="text-white hover:text-pink-500 transition"> | |
| <i class="fas fa-cog text-xl"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Hero Section --> | |
| <section class="pt-24 pb-12 px-6"> | |
| <div class="container mx-auto text-center"> | |
| <h2 class="text-6xl md:text-8xl orbitron font-black mb-6"> | |
| <span class="neon-text">SQUID</span> | |
| <span class="text-white">GAME</span> | |
| </h2> | |
| <p class="text-xl text-gray-300 mb-8">Choisissez votre destin - gagnez ou mourrez</p> | |
| <!-- Live Player Counter --> | |
| <div class="inline-block glass-morphism rounded-full px-8 py-4 mb-8"> | |
| <i class="fas fa-users text-pink-500 mr-2"></i> | |
| <span class="text-lg">Joueurs en ligne: </span> | |
| <span id="liveCounter" class="text-2xl font-bold text-green-400 player-count">1,234</span> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Games Grid --> | |
| <section class="container mx-auto px-6 pb-12"> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| <!-- Red Light Green Light --> | |
| <div class="game-card glass-morphism rounded-xl p-6"> | |
| <div class="relative mb-4"> | |
| <div class="w-full h-48 bg-gradient-to-br from-red-500 to-green-500 rounded-lg flex items-center justify-center"> | |
| <div class="flex space-x-4"> | |
| <div class="red-light w-16 h-16 rounded-full"></div> | |
| <div class="green-light w-16 h-16 rounded-full"></div> | |
| </div> | |
| </div> | |
| <div class="absolute top-2 right-2 bg-black bg-opacity-50 rounded-full px-3 py-1"> | |
| <span class="text-sm">Joueurs: 456</span> | |
| </div> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Feu Rouge Feu Vert</h3> | |
| <p class="text-gray-400 text-sm mb-4">Bougez quand le feu est vert, arrêtez quand il est rouge. Simple non?</p> | |
| <button onclick="openGame('red-green')" class="w-full play-button text-white py-3 rounded-lg font-bold"> | |
| Jouer (100 pts) | |
| </button> | |
| </div> | |
| <!-- Honeycomb --> | |
| <div class="game-card glass-morphism rounded-xl p-6"> | |
| <div class="relative mb-4"> | |
| <div class="w-full h-48 bg-gradient-to-br from-amber-400 to-amber-600 rounded-lg flex items-center justify-center"> | |
| <div class="w-32 h-32 border-8 border-amber-800 rounded-full flex items-center justify-center"> | |
| <span class="text-4xl">🐝</span> | |
| </div> | |
| </div> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Miel ou Mort</h3> | |
| <p class="text-gray-400 text-sm mb-4">Découpez la forme dans le miel sans la casser. Un faux mouvement et c'est fini.</p> | |
| <button onclick="openGame('honeycomb')" class="w-full play-button text-white py-3 rounded-lg font-bold"> | |
| Jouer (150 pts) | |
| </button> | |
| </div> | |
| <!-- Tug of War --> | |
| <div class="game-card glass-morphism rounded-xl p-6"> | |
| <div class="relative mb-4"> | |
| <div class="w-full h-48 bg-gradient-to-br from-blue-600 to-purple-600 rounded-lg flex items-center justify-center"> | |
| <div class="flex items-center space-x-8"> | |
| <i class="fas fa-users text-6xl"></i> | |
| <i class="fas fa-minus text-4xl"></i> | |
| <i class="fas fa-users text-6xl"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Combat de Traction</h3> | |
| <p class="text-gray-400 text-sm mb-4">La force brute contre la stratégie. Qui tombera dans le vide?</p> | |
| <button onclick="openGame('tug-war')" class="w-full play-button text-white py-3 rounded-lg font-bold"> | |
| Jouer (200 pts) | |
| </button> | |
| </div> | |
| <!-- Marbles --> | |
| <div class="game-card glass-morphism rounded-xl p-6"> | |
| <div class="relative mb-4"> | |
| <div class="w-full h-48 bg-gradient-to-br from-indigo-500 to-purple-500 rounded-lg flex items-center justify-center"> | |
| <div class="grid grid-cols-4 gap-2"> | |
| <div class="marble"></div> | |
| <div class="marble" style="background: radial-gradient(circle at 30% 30%, #ff6b6b, #ff5252)"></div> | |
| <div class="marble" style="background: radial-gradient(circle at 30% 30%, #4ecdc4, #45b7aa)"></div> | |
| <div class="marble" style="background: radial-gradient(circle at 30% 30%, #ffd93d, #ffc107)"></div> | |
| </div> | |
| </div> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Billes de la Mort</h3> | |
| <p class="text-gray-400 text-sm mb-4">Gagnez les billes de votre adversaire ou perdez les vôtres. Chaque bille compte.</p> | |
| <button onclick="openGame('marbles')" class="w-full play-button text-white py-3 rounded-lg font-bold"> | |
| Jouer (250 pts) | |
| </button> | |
| </div> | |
| <!-- Glass Bridge --> | |
| <div class="game-card glass-morphism rounded-xl p-6"> | |
| <div class="relative mb-4"> | |
| <div class="w-full h-48 bg-gradient-to-br from-cyan-400 to-blue-500 rounded-lg flex items-center justify-center"> | |
| <div class="grid grid-cols-5 gap-1"> | |
| <div class="w-8 h-8 bg-white opacity-60 rounded"></div> | |
| <div class="w-8 h-8 bg-white opacity-60 rounded"></div> | |
| <div class="w-8 h-8 bg-red-500 rounded"></div> | |
| <div class="w-8 h-8 bg-white opacity-60 rounded"></div> | |
| <div class="w-8 h-8 bg-red-500 rounded"></div> | |
| </div> | |
| </div> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Pont de Verre</h3> | |
| <p class="text-gray-400 text-sm mb-4">Choisissez le bon chemin ou tombez dans le vide. La chance décide de tout.</p> | |
| <button onclick="openGame('glass-bridge')" class="w-full play-button text-white py-3 rounded-lg font-bold"> | |
| Jouer (300 pts) | |
| </button> | |
| </div> | |
| <!-- Squid Game --> | |
| <div class="game-card glass-morphism rounded-xl p-6"> | |
| <div class="relative mb-4"> | |
| <div class="w-full h-48 bg-gradient-to-br from-pink-500 to-red-500 rounded-lg flex items-center justify-center"> | |
| <div class="w-32 h-32 border-4 border-white rounded-lg"></div> | |
| </div> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Le Jeu du Calamar</h3> | |
| <p class="text-gray-400 text-sm mb-4">Le jeu final. Tout ou rien. Gagnez 45.6 milliards ou perdez tout.</p> | |
| <button onclick="openGame('squid-game')" class="w-full play-button text-white py-3 rounded-lg font-bold"> | |
| Jouer (500 pts) | |
| </button> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Game Modal --> | |
| <div id="gameModal" class="fixed inset-0 modal hidden z-50"> | |
| <div class="flex items-center justify-center min-h-screen p-4"> | |
| <div class="glass-morphism rounded-xl max-w-2xl w-full p-8"> | |
| <div class="flex justify-between items-center mb-6"> | |
| <h2 id="modalTitle" class="text-3xl font-bold neon-text"></h2> | |
| <button onclick="closeModal()" class="text-gray-400 hover:text-white text-2xl"> | |
| <i class="fas fa-times"></i> | |
| </button> | |
| </div> | |
| <div id="gameContent" class="text-center"> | |
| <!-- Game content will be inserted here --> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Leaderboard --> | |
| <section class="container mx-auto px-6 py-12"> | |
| <h2 class="text-3xl font-bold text-center mb-8">Classement Mondial</h2> | |
| <div class="glass-morphism rounded-xl p-6"> | |
| <div class="overflow-x-auto"> | |
| <table class="w-full"> | |
| <thead> | |
| <tr class="text-left"> | |
| <th class="pb-4">Rang</th> | |
| <th class="pb-4">Joueur</th> | |
| <th class="pb-4">Points</th> | |
| <th class="pb-4">Jeux Gagnés</th> | |
| </tr> | |
| </thead> | |
| <tbody id="leaderboardBody"> | |
| <!-- Dynamic content --> | |
| </tbody> | |
| </table> | |
| </div> | |
| </div> | |
| </section> | |
| <script> | |
| </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=Halile258/squid-game" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |