From 547f68c8820c0a8c56f674f7d26b4d1a58fcd983 Mon Sep 17 00:00:00 2001 From: ashley Date: Sun, 27 Apr 2025 12:52:28 +0000 Subject: [PATCH] oops --- html/gamehub.ejs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/html/gamehub.ejs b/html/gamehub.ejs index 581687bf..b073c8c3 100644 --- a/html/gamehub.ejs +++ b/html/gamehub.ejs @@ -427,8 +427,8 @@ // Game state let snake, dir, food, score, highScore = 0, level, gameInterval; let state = 'start'; // 'start', 'playing', 'gameover' - const funnyMessages = [ - "You got scaled!", "Snake bit ya!", "Sssorry, try again!", "Slither fail!", "Curveball!" + const endMessages = [ + "Skill issue!", "Snake bit ya!", "Sssorry, try again!", ]; function resizeCanvas() { @@ -518,7 +518,7 @@ function endGame() { clearInterval(gameInterval); state = 'gameover'; - gameOverText.textContent = funnyMessages[Math.floor(Math.random()*funnyMessages.length)]; + gameOverText.textContent = endMessages[Math.floor(Math.random()*endMessages.length)]; gameOverScreen.classList.remove('hidden'); }