diff --git a/WebGames-master/WebGames-master/index.html b/WebGames-master/WebGames-master/index.html index 28e67119..55bf973a 100644 --- a/WebGames-master/WebGames-master/index.html +++ b/WebGames-master/WebGames-master/index.html @@ -203,7 +203,7 @@

No games found

-
+
tic-tac-toe
Tic Tac Toe
@@ -777,7 +777,7 @@ // Utility function to get a cookie function getCookie(name) { const cookies = document.cookie.split(';'); - for (let i = 0; cookies.length; i++) { + for (let i = 0; i < cookies.length; i++) { const cookie = cookies[i].trim(); if (cookie.startsWith(name + '=')) { return cookie.substring(name.length + 1); @@ -912,7 +912,7 @@ // Utility function to get a cookie function getCookie(name) { const cookies = document.cookie.split(';'); - for (let i = 0; cookies.length; i++) { + for (let i = 0; i < cookies.length; i++) { const cookie = cookies[i].trim(); if (cookie.startsWith(name + '=')) { return cookie.substring(name.length + 1); @@ -921,56 +921,6 @@ return null; } - // Wait for the page to fully load - window.onload = () => { - // Select all game elements - const games = document.querySelectorAll('.game'); - - // Hide all game elements initially - games.forEach(game => { - game.style.opacity = '0'; // Hide games - game.style.transform = 'scale(0.5) rotate(45deg)'; // Shrink and rotate - }); - - // Add a delay before starting the animation - setTimeout(() => { - anime({ - targets: '.game', - opacity: [0, 1], // Fade in - scale: [0.5, 1], // Scale up - rotate: ['45deg', '0deg'], // Rotate back to normal - delay: anime.stagger(150), // Stagger animation for each card - duration: 1000, // Animation duration - easing: 'easeOutElastic(1, .8)', // Elastic easing for a bouncy effect - }); - }, 100); // 2-second delay before animation starts - }; - - + + \ No newline at end of file diff --git a/index.html b/index.html index 218a2d5d..a9a3d2e2 100644 --- a/index.html +++ b/index.html @@ -107,19 +107,17 @@ -

Moon Gaming

-
+

Moon Gaming

+
+ - - - - +
diff --git a/setting.html b/setting.html index a62db73e..7a612c9a 100644 --- a/setting.html +++ b/setting.html @@ -11,12 +11,24 @@ crossorigin="anonymous" referrerpolicy="no-referrer">