From 731d040e890137d8e0f3eb5d1c9577da08ba4793 Mon Sep 17 00:00:00 2001 From: Sysy's Date: Tue, 31 Mar 2026 09:52:51 +0200 Subject: [PATCH] Remove index & change walls colors --- web/assets/css/game.css | 2 +- web/assets/js/index.js | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) delete mode 100644 web/assets/js/index.js diff --git a/web/assets/css/game.css b/web/assets/css/game.css index 065e5e3..a668e5a 100644 --- a/web/assets/css/game.css +++ b/web/assets/css/game.css @@ -89,7 +89,7 @@ main { } .wall { - background-color: #DADEEF; + background-color: #0729c0; } .target { diff --git a/web/assets/js/index.js b/web/assets/js/index.js deleted file mode 100644 index 42e3a2c..0000000 --- a/web/assets/js/index.js +++ /dev/null @@ -1,9 +0,0 @@ -function rotateMirror(mirror) { - let angle = 0; - if (mirror.style.transform == "") { - angle = 0; - } else { - angle = parseInt(mirror.style.transform.split("(")[1].split("deg")[0])%360; - } - mirror.style.transform = `rotate(${angle+45}deg)`; -} \ No newline at end of file