From d3efb077f876f153e49eafb6b7982b225505e85a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fernando=20M=C3=A9ndez?= Date: Tue, 2 Sep 2025 15:43:59 +0200 Subject: [PATCH] =?UTF-8?q?Correcci=C3=B3n=20de=20erratas.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- serpiente/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serpiente/script.js b/serpiente/script.js index fed2014..68c84d3 100644 --- a/serpiente/script.js +++ b/serpiente/script.js @@ -106,7 +106,7 @@ function changeDirection(e) { function endGame() { clearInterval(gameInterval); gameOver = true; - gameOverDiv.textContent = "¡Fin del juego! Puntaje final: " + score; + gameOverDiv.textContent = "¡Fin del juego! Puntuación final: " + score; } window.addEventListener('keydown', changeDirection);