Corrección de erratas.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user