From fc229f0ca6b48cf28f60515510e935be9c88d823 Mon Sep 17 00:00:00 2001 From: Ronnie Date: Tue, 27 May 2025 21:35:39 -0400 Subject: [PATCH] Add mode and difficulty badges to death screen; update styles for improved visibility --- game.js | 4 ++++ index.html | 10 +++++++++ styles.css | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 76 insertions(+) diff --git a/game.js b/game.js index bb018d0..8fdf7f0 100644 --- a/game.js +++ b/game.js @@ -142,6 +142,10 @@ function showDeathScreen() { levelRow.style.display = 'flex'; } + // Update mode and difficulty badges + document.querySelector('.mode-text').textContent = gameState.selectedMode; + document.querySelector('.difficulty-text').textContent = gameState.selectedDifficulty; + // Show death screen deathScreen.classList.add('show'); } diff --git a/index.html b/index.html index 4cd6113..8310367 100644 --- a/index.html +++ b/index.html @@ -124,6 +124,16 @@ Time Survived: 0:00 +
+
+ + Levels +
+
+ + Medium +
+