diff --git a/favicon_io/about.txt b/favicon_io/about.txt deleted file mode 100644 index 2062908..0000000 --- a/favicon_io/about.txt +++ /dev/null @@ -1,6 +0,0 @@ -This favicon was generated using the following graphics from Twitter Twemoji: - -- Graphics Title: 1f680.svg -- Graphics Author: Copyright 2020 Twitter, Inc and other contributors (https://github.com/twitter/twemoji) -- Graphics Source: https://github.com/twitter/twemoji/blob/master/assets/svg/1f680.svg -- Graphics License: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/) diff --git a/favicon_io/android-chrome-192x192.png b/favicon_io/android-chrome-192x192.png deleted file mode 100644 index 385d40d..0000000 Binary files a/favicon_io/android-chrome-192x192.png and /dev/null differ diff --git a/favicon_io/android-chrome-512x512.png b/favicon_io/android-chrome-512x512.png deleted file mode 100644 index 843853f..0000000 Binary files a/favicon_io/android-chrome-512x512.png and /dev/null differ diff --git a/favicon_io/apple-touch-icon.png b/favicon_io/apple-touch-icon.png deleted file mode 100644 index 1b41da6..0000000 Binary files a/favicon_io/apple-touch-icon.png and /dev/null differ diff --git a/favicon_io/favicon-16x16.png b/favicon_io/favicon-16x16.png deleted file mode 100644 index 870d85f..0000000 Binary files a/favicon_io/favicon-16x16.png and /dev/null differ diff --git a/favicon_io/favicon-32x32.png b/favicon_io/favicon-32x32.png deleted file mode 100644 index 89bbbad..0000000 Binary files a/favicon_io/favicon-32x32.png and /dev/null differ diff --git a/favicon_io/favicon.ico b/favicon_io/favicon.ico deleted file mode 100644 index 385d320..0000000 Binary files a/favicon_io/favicon.ico and /dev/null differ diff --git a/favicon_io/site.webmanifest b/favicon_io/site.webmanifest deleted file mode 100644 index 45dc8a2..0000000 --- a/favicon_io/site.webmanifest +++ /dev/null @@ -1 +0,0 @@ -{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"} \ No newline at end of file diff --git a/footer.js b/footer.js index 849c82d..c3fe9fc 100644 --- a/footer.js +++ b/footer.js @@ -45,6 +45,7 @@ class Footer extends HTMLElement { customElements.define('footer-component', Footer); +// @license-end // CSS for the hidden button const style = document.createElement('style'); @@ -58,12 +59,10 @@ style.textContent = ` border: none; font-size: 24px; cursor: pointer; - } - - .footer-content:hover .secret-button { - display: block; - } - `; -document.head.appendChild(style); +} -// @license-end \ No newline at end of file +.footer-content:hover .secret-button { + display: block; +} +`; +document.head.appendChild(style); diff --git a/index.html b/index.html index f9b4677..c757b03 100644 --- a/index.html +++ b/index.html @@ -24,24 +24,6 @@ - - - - Interstellar Development diff --git a/secret/asteroidDestroyer/explenation.html b/secret/asteroidDestroyer/explenation.html index 843c32c..e6fed38 100644 --- a/secret/asteroidDestroyer/explenation.html +++ b/secret/asteroidDestroyer/explenation.html @@ -5,24 +5,6 @@ Game Landing Page - - - -
diff --git a/secret/asteroidDestroyer/secret.html b/secret/asteroidDestroyer/secret.html index 1b22d19..9d7f63d 100644 --- a/secret/asteroidDestroyer/secret.html +++ b/secret/asteroidDestroyer/secret.html @@ -5,24 +5,6 @@ Asteroid Shooter - - - - diff --git a/secret/endlessRunner/index.html b/secret/endlessRunner/index.html index c2feb26..e69de29 100644 --- a/secret/endlessRunner/index.html +++ b/secret/endlessRunner/index.html @@ -1,33 +0,0 @@ - - - - - - Endless runner - - - - - - -
- - -
- - - diff --git a/secret/endlessRunner/script.js b/secret/endlessRunner/script.js index c1f200f..e69de29 100644 --- a/secret/endlessRunner/script.js +++ b/secret/endlessRunner/script.js @@ -1,78 +0,0 @@ -import { useEffect, useRef, useState } from "react"; - -export default function EndlessRunner() { - const canvasRef = useRef(null); - const [running, setRunning] = useState(true); - const player = { x: 50, y: 150, width: 20, height: 20, dy: 0 }; - const gravity = 0.5; - let obstacles = []; - let score = 0; - - useEffect(() => { - const canvas = canvasRef.current; - const ctx = canvas.getContext("2d"); - canvas.width = window.innerWidth; - canvas.height = 300; - - function update() { - if (!running) return; - ctx.clearRect(0, 0, canvas.width, canvas.height); - - // Player physics - player.dy += gravity; - player.y += player.dy; - if (player.y > 150) { - player.y = 150; - player.dy = 0; - } - - // Draw player - ctx.fillStyle = "blue"; - ctx.fillRect(player.x, player.y, player.width, player.height); - - // Obstacles - if (Math.random() < 0.02) { - obstacles.push({ x: canvas.width, y: 150, width: 20, height: 20 }); - } - obstacles = obstacles.map(obstacle => ({ ...obstacle, x: obstacle.x - 5 })); - obstacles = obstacles.filter(obstacle => obstacle.x + obstacle.width > 0); - - obstacles.forEach(obstacle => { - ctx.fillStyle = "red"; - ctx.fillRect(obstacle.x, obstacle.y, obstacle.width, obstacle.height); - - // Collision detection - if ( - player.x < obstacle.x + obstacle.width && - player.x + player.width > obstacle.x && - player.y < obstacle.y + obstacle.height && - player.y + player.height > obstacle.y - ) { - setRunning(false); - } - }); - - // Score - score++; - ctx.fillStyle = "black"; - ctx.fillText("Score: " + score, 10, 20); - - requestAnimationFrame(update); - } - - update(); - }, [running]); - - function jump() { - if (player.y >= 150) { - player.dy = -10; - } - } - - return ( -
- - {!running && } -
- ); -} diff --git a/secret/endlessRunner/styles.css b/secret/endlessRunner/styles.css index b8850fc..e69de29 100644 --- a/secret/endlessRunner/styles.css +++ b/secret/endlessRunner/styles.css @@ -1,34 +0,0 @@ -body { - margin: 0; - display: flex; - justify-content: center; - align-items: center; - height: 100vh; - background-color: #f4f4f4; -} - -.game-container { - position: relative; - text-align: center; -} - -canvas { - border: 2px solid black; - background-color: white; - display: block; -} - -#restartBtn { - margin-top: 10px; - padding: 10px 20px; - font-size: 16px; - background-color: #007bff; - color: white; - border: none; - cursor: pointer; - display: none; -} - -#restartBtn:hover { - background-color: #0056b3; -} diff --git a/secret/guessMyNumber/index.html b/secret/guessMyNumber/index.html index 4e88eaa..2453f5c 100644 --- a/secret/guessMyNumber/index.html +++ b/secret/guessMyNumber/index.html @@ -5,24 +5,6 @@ Guess My Number - - - -
diff --git a/secret/index.html b/secret/index.html index dc45d69..110c75b 100644 --- a/secret/index.html +++ b/secret/index.html @@ -5,24 +5,6 @@ Secret Game Collection - - - -
diff --git a/secret/mineSweeper/index.html b/secret/mineSweeper/index.html index 5794679..eabf508 100644 --- a/secret/mineSweeper/index.html +++ b/secret/mineSweeper/index.html @@ -1,60 +1,30 @@ - - - - Minesweeper - - - - - - - -
-

Minesweeper

- - + + + + Minesweeper + + - - + +
+

Minesweeper

+ + - -
+ + -
- -
+ +
- - - +
+ +
+ + + + + \ No newline at end of file diff --git a/secret/snake/index.html b/secret/snake/index.html index 183027f..47205b4 100644 --- a/secret/snake/index.html +++ b/secret/snake/index.html @@ -5,24 +5,6 @@ Snake - Game - - - -
diff --git a/webGames/index.html b/webGames/index.html index 7f1a0bf..320999d 100644 --- a/webGames/index.html +++ b/webGames/index.html @@ -5,24 +5,6 @@ Game Collection - - - -