From 76eab4caaa96d381897a979f3d82e85adf232346 Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Mon, 18 May 2026 13:52:13 +0200 Subject: [PATCH] Titol de finestra i ESC per a eixir --- guante_blanco.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guante_blanco.lua b/guante_blanco.lua index 8f7faaf..4d48197 100644 --- a/guante_blanco.lua +++ b/guante_blanco.lua @@ -873,6 +873,7 @@ end -- BUCLE PRINCIPAL -- ============================================================ function init() + wintitle("© 1985 Guante Blanco — David Radisic") mode(MODO) border(COL_FONDO) color(COL_TEXTO, COL_FONDO) @@ -895,6 +896,7 @@ function init() end function update() + if btnp(KEY_ESCAPE) then os.exit(0) end if estado == ESTADO_PASE then update_pase() elseif estado == ESTADO_JUEGO then update_juego() elseif estado == ESTADO_ESCAPE then update_escape()