Add mode and difficulty badges to death screen; update styles for improved visibility
This commit is contained in:
parent
6a2d14e2a6
commit
fc229f0ca6
3 changed files with 76 additions and 0 deletions
4
game.js
4
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');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue