File size: 14,316 Bytes
be64ed1 9902284 be64ed1 9902284 be64ed1 9902284 be64ed1 9902284 be64ed1 | 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 | <!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CrazyGames Collection | GameSphere Frenzy</title>
<meta name="description" content="Popular games from CrazyGames - play the best free online games">
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
</head>
<body class="bg-secondary-100 dark:bg-secondary-900 text-secondary-900 dark:text-white theme-transition">
<!-- Navigation -->
<nav class="bg-secondary-800 dark:bg-secondary-950 shadow-lg sticky top-0 z-50">
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
<div class="flex items-center space-x-2">
<i data-feather="gamepad" class="text-primary-500 w-8 h-8"></i>
<a href="index.html" class="text-2xl font-bold bg-gradient-to-r from-primary-500 to-purple-600 bg-clip-text text-transparent">GameSphere Frenzy</a>
</div>
<div class="hidden md:flex space-x-6">
<a href="index.html" class="hover:text-primary-400 font-medium">Home</a>
<a href="crazygames.html" class="text-primary-400 font-medium">CrazyGames</a>
<a href="#" class="hover:text-primary-400 font-medium">Categories</a>
<a href="#" class="hover:text-primary-400 font-medium">Leaderboards</a>
</div>
<div class="flex items-center space-x-4">
<button id="theme-toggle" class="p-2 rounded-full hover:bg-secondary-700 dark:hover:bg-secondary-700">
<i data-feather="moon" class="hidden dark:block"></i>
<i data-feather="sun" class="block dark:hidden"></i>
</button>
<div class="relative">
<input type="text" placeholder="Search games..." class="bg-secondary-700 dark:bg-secondary-800 rounded-full py-2 px-4 pl-10 focus:outline-none focus:ring-2 focus:ring-primary-500">
<i data-feather="search" class="absolute left-3 top-2.5 text-secondary-400"></i>
</div>
</div>
</div>
</nav>
<!-- CrazyGames Collection -->
<section class="py-16">
<div class="container mx-auto px-4">
<h1 class="text-4xl font-bold mb-10">Popular CrazyGames</h1>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- 1v1.LOL -->
<div class="game-card bg-white dark:bg-secondary-700 rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition-shadow duration-300">
<div class="relative overflow-hidden">
<img src="http://static.photos/gaming/640x360/101" alt="1v1.LOL" class="game-thumbnail w-full h-48 object-cover transition-transform duration-300">
<div class="absolute top-2 right-2 bg-red-500 text-white text-xs px-2 py-1 rounded">HOT</div>
</div>
<div class="p-4">
<h3 class="font-bold text-lg mb-2">1v1.LOL</h3>
<p class="text-sm text-secondary-500 dark:text-secondary-400 mb-4">Build, shoot, and outplay your opponent in this intense 1v1 battle game.</p>
<button onclick="playGame('1v1lol')" class="w-full bg-primary-600 hover:bg-primary-700 text-white py-2 rounded-lg font-medium">Play Now</button>
</div>
</div>
<!-- Shell Shockers -->
<div class="game-card bg-white dark:bg-secondary-700 rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition-shadow duration-300">
<div class="relative overflow-hidden">
<img src="http://static.photos/gaming/640x360/102" alt="Shell Shockers" class="game-thumbnail w-full h-48 object-cover transition-transform duration-300">
</div>
<div class="p-4">
<h3 class="font-bold text-lg mb-2">Shell Shockers</h3>
<p class="text-sm text-secondary-500 dark:text-secondary-400 mb-4">A multiplayer egg-based shooter where you crack your opponents!</p>
<button onclick="playGame('shellshockers')" class="w-full bg-primary-600 hover:bg-primary-700 text-white py-2 rounded-lg font-medium">Play Now</button>
</div>
</div>
<!-- Moto X3M -->
<div class="game-card bg-white dark:bg-secondary-700 rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition-shadow duration-300">
<div class="relative overflow-hidden">
<img src="http://static.photos/gaming/640x360/103" alt="Moto X3M" class="game-thumbnail w-full h-48 object-cover transition-transform duration-300">
<div class="absolute top-2 right-2 bg-yellow-500 text-white text-xs px-2 py-1 rounded">POPULAR</div>
</div>
<div class="p-4">
<h3 class="font-bold text-lg mb-2">Moto X3M</h3>
<p class="text-sm text-secondary-500 dark:text-secondary-400 mb-4">Complete insane bike stunts through challenging obstacle courses.</p>
<button onclick="playGame('motox3m')" class="w-full bg-primary-600 hover:bg-primary-700 text-white py-2 rounded-lg font-medium">Play Now</button>
</div>
</div>
<!-- Paper.io 2 -->
<div class="game-card bg-white dark:bg-secondary-700 rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition-shadow duration-300">
<div class="relative overflow-hidden">
<img src="http://static.photos/gaming/640x360/104" alt="Paper.io 2" class="game-thumbnail w-full h-48 object-cover transition-transform duration-300">
</div>
<div class="p-4">
<h3 class="font-bold text-lg mb-2">Paper.io 2</h3>
<p class="text-sm text-secondary-500 dark:text-secondary-400 mb-4">Claim territory and eliminate opponents in this multiplayer strategy game.</p>
<button onclick="playGame('paperio2')" class="w-full bg-primary-600 hover:bg-primary-700 text-white py-2 rounded-lg font-medium">Play Now</button>
</div>
</div>
<!-- Krunker.io -->
<div class="game-card bg-white dark:bg-secondary-700 rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition-shadow duration-300">
<div class="relative overflow-hidden">
<img src="http://static.photos/gaming/640x360/105" alt="Krunker.io" class="game-thumbnail w-full h-48 object-cover transition-transform duration-300">
<div class="absolute top-2 right-2 bg-blue-500 text-white text-xs px-2 py-1 rounded">FPS</div>
</div>
<div class="p-4">
<h3 class="font-bold text-lg mb-2">Krunker.io</h3>
<p class="text-sm text-secondary-500 dark:text-secondary-400 mb-4">Fast-paced browser FPS with smooth movement and shooting mechanics.</p>
<button onclick="playGame('krunker')" class="w-full bg-primary-600 hover:bg-primary-700 text-white py-2 rounded-lg font-medium">Play Now</button>
</div>
</div>
<!-- Slope -->
<div class="game-card bg-white dark:bg-secondary-700 rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition-shadow duration-300">
<div class="relative overflow-hidden">
<img src="http://static.photos/gaming/640x360/106" alt="Slope" class="game-thumbnail w-full h-48 object-cover transition-transform duration-300">
</div>
<div class="p-4">
<h3 class="font-bold text-lg mb-2">Slope</h3>
<p class="text-sm text-secondary-500 dark:text-secondary-400 mb-4">Navigate a 3D ball through a neon slope with increasing difficulty.</p>
<button onclick="playGame('slope')" class="w-full bg-primary-600 hover:bg-primary-700 text-white py-2 rounded-lg font-medium">Play Now</button>
</div>
</div>
<!-- Hole.io -->
<div class="game-card bg-white dark:bg-secondary-700 rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition-shadow duration-300">
<div class="relative overflow-hidden">
<img src="http://static.photos/gaming/640x360/107" alt="Hole.io" class="game-thumbnail w-full h-48 object-cover transition-transform duration-300">
<div class="absolute top-2 right-2 bg-purple-500 text-white text-xs px-2 py-1 rounded">MULTIPLAYER</div>
</div>
<div class="p-4">
<h3 class="font-bold text-lg mb-2">Hole.io</h3>
<p class="text-sm text-secondary-500 dark:text-secondary-400 mb-4">Consume everything in your path to become the biggest black hole!</p>
<button onclick="playGame('holeio')" class="w-full bg-primary-600 hover:bg-primary-700 text-white py-2 rounded-lg font-medium">Play Now</button>
</div>
</div>
<!-- Agar.io -->
<div class="game-card bg-white dark:bg-secondary-700 rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition-shadow duration-300">
<div class="relative overflow-hidden">
<img src="http://static.photos/gaming/640x360/108" alt="Agar.io" class="game-thumbnail w-full h-48 object-cover transition-transform duration-300">
<div class="absolute top-2 right-2 bg-green-500 text-white text-xs px-2 py-1 rounded">CLASSIC</div>
</div>
<div class="p-4">
<h3 class="font-bold text-lg mb-2">Agar.io</h3>
<p class="text-sm text-secondary-500 dark:text-secondary-400 mb-4">The original cell eating game - grow bigger by consuming smaller cells.</p>
<button onclick="playGame('agario')" class="w-full bg-primary-600 hover:bg-primary-700 text-white py-2 rounded-lg font-medium">Play Now</button>
</div>
</div>
</div>
</div>
</section>
<!-- Game Player Modal -->
<div id="game-modal" class="fixed inset-0 bg-black bg-opacity-90 z-50 hidden flex items-center justify-center p-4">
<div class="relative w-full max-w-6xl">
<button onclick="closeModal()" class="absolute -top-12 right-0 text-white hover:text-primary-400">
<i data-feather="x" class="w-8 h-8"></i>
</button>
<div class="bg-secondary-800 rounded-xl overflow-hidden">
<div class="p-4 bg-secondary-900 flex justify-between items-center">
<h3 id="game-title" class="text-xl font-bold">Loading Game...</h3>
</div>
<div id="game-player" class="w-full bg-black" style="aspect-ratio: 16/9">
<!-- Game iframe will be injected here -->
</div>
</div>
</div>
</div>
<script>
feather.replace();
// Theme toggle functionality
const themeToggle = document.getElementById('theme-toggle');
if (themeToggle) {
themeToggle.addEventListener('click', () => {
document.documentElement.classList.toggle('dark');
localStorage.setItem('theme', document.documentElement.classList.contains('dark') ? 'dark' : 'light');
});
}
// Game modal functionality
function playGame(gameName) {
const modal = document.getElementById('game-modal');
const gamePlayer = document.getElementById('game-player');
const gameTitle = document.getElementById('game-title');
// Set game title
gameTitle.textContent = document.querySelector(`button[onclick="playGame('${gameName}')"]`).parentElement.querySelector('h3').textContent;
// Set iframe based on game
let iframeSrc = '';
switch(gameName) {
case '1v1lol':
iframeSrc = 'https://1v1.lol/';
break;
case 'shellshockers':
iframeSrc = 'https://shellshock.io/';
break;
case 'motox3m':
iframeSrc = 'https://www.crazygames.com/game/moto-x3m';
break;
case 'paperio2':
iframeSrc = 'https://www.crazygames.com/game/paper-io-2';
break;
case 'krunker':
iframeSrc = 'https://krunker.io/';
break;
case 'slope':
iframeSrc = 'https://www.crazygames.com/game/slope';
break;
case 'holeio':
iframeSrc = 'https://www.crazygames.com/game/hole-io';
break;
case 'agario':
iframeSrc = 'https://www.crazygames.com/game/agar-io';
break;
default:
return;
}
gamePlayer.innerHTML = `<iframe src="${iframeSrc}" frameborder="0" allowfullscreen class="w-full h-full"></iframe>`;
modal.classList.remove('hidden');
}
function closeModal() {
const modal = document.getElementById('game-modal');
const gamePlayer = document.getElementById('game-player');
gamePlayer.innerHTML = '';
modal.classList.add('hidden');
}
</script>
</body>
</html> |