From f2448b1759a4f068419a99bc5029d1e174613cb5 Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Mon, 18 May 2026 13:41:27 +0200 Subject: [PATCH] Titol de finestra i ESC per a eixir --- rebotes.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rebotes.lua b/rebotes.lua index fe01a21..437be12 100644 --- a/rebotes.lua +++ b/rebotes.lua @@ -607,6 +607,7 @@ end -- BUCLE PRINCIPAL -- ============================================================ function init() + wintitle("© 1984 Rebotes — Alexander Martin") mode(MODO) border(COL_FONDO) color(COL_TEXTO, COL_FONDO) @@ -619,6 +620,7 @@ function init() end function update() + if btnp(KEY_ESCAPE) then os.exit(0) end if estado == ESTADO_TITULO then update_titulo() elseif estado == ESTADO_INSTRUC then update_instruc() elseif estado == ESTADO_JUEGO then update_juego()