From c2f5839cff2b22bebb32db670bd04d5c08162f49 Mon Sep 17 00:00:00 2001 From: Maximilian Alvim de Faria <63980031+MaximilianAdF@users.noreply.github.com> Date: Sun, 11 Feb 2024 21:08:19 +0100 Subject: [PATCH] SmokeCrack Improvements & Fixes Fixes: - SmokeCrack only removed the created keypress listener when player pressed a wrong key. Discovered and fixed by @DiGatsby. Improvements: - Added a difficulty level system (Easy, Medium, Hard) with different character counts and timer values. - Introduced a Salty App like Mac / IP address system to differentiate between difficulty levels. --- SmokeCrack/SmokeCrack.css | 88 ++++++++++++++++++++++++++++++++++++++ SmokeCrack/SmokeCrack.html | 45 +++++++++++++++++++ SmokeCrack/SmokeCrack.js | 58 +++++++++++++++++-------- SmokeCrack/SmokeCrack.ts | 61 ++++++++++++++++++-------- 4 files changed, 216 insertions(+), 36 deletions(-) diff --git a/SmokeCrack/SmokeCrack.css b/SmokeCrack/SmokeCrack.css index 83a55d0..f30e251 100644 --- a/SmokeCrack/SmokeCrack.css +++ b/SmokeCrack/SmokeCrack.css @@ -1,4 +1,5 @@ body { + font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; color: aliceblue; background-color: blakc; /* Set background-color to transparent */ overflow: hidden; @@ -352,4 +353,91 @@ body { .minigame-over p { color: rgba(208, 208, 208, 0.834); +} + +.mac-ip-container { + display: flex; + flex-direction: column; + justify-content: space-between; + align-items: center; + width: 1000px; + margin: 100px auto; + height: 100%; + gap: 15px; +} + +.row { + display: flex; + justify-content: space-between; + align-items: center; + width: 100%; + height: 100%; + background-color: rgba(153, 153, 153, 0.319); + +} + +.difficulty-bars { + display: flex; + justify-content: space-between; + align-items: center; + width: 100%; + height: 100%; + gap: 7px; + +} + +.row p { + margin-left: 10px; + font-size: 20px; +} + +.lvl-easy, +.lvl-medium, +.lvl-hard { + display: flex; + align-items: center; +} + +.lvl-easy span, +.lvl-medium span, +.lvl-hard span { + font-size: 20px; + display: inline-block; + white-space: nowrap; + margin-left: 50px; + margin-right: 10px; +} + +.lvl-easy span { + color: rgb(85, 255, 164); + text-shadow: 0 0 3px rgb(84, 255, 164); + +} + +.lvl-medium span { + color: yellow; + text-shadow: 0 0 3px yellow; +} + +.lvl-hard span { + color: rgb(255, 84, 84); + text-shadow: 0 0 3px rgb(255, 84, 84); +} + +.difficulty-bar { + width: 6px; + height: 20px; + background-color: rgba(153, 153, 153, 0.319); +} + +.lvl-easy .difficulty-bar:nth-child(-n+2) { + background-color: rgb(85, 255, 164); +} + +.lvl-medium .difficulty-bar:nth-child(-n+3) { + background-color: yellow; +} + +.lvl-hard .difficulty-bar { + background-color: rgb(255, 84, 84); } \ No newline at end of file diff --git a/SmokeCrack/SmokeCrack.html b/SmokeCrack/SmokeCrack.html index 0d5265c..51bfdb6 100644 --- a/SmokeCrack/SmokeCrack.html +++ b/SmokeCrack/SmokeCrack.html @@ -67,5 +67,50 @@
You failed to hack the Wi-Fi
+ +7c:89:3e:c8:cc:65
+192.168.0.105
+fb:d4:31:c:38:e8
+192.168.0.205
+71:21:e3:ea:f6:d0
+192.168.0.179
+