Introducing “Tap To Lose”, of the “impossible game” genre…
local rect = display.newRect(display.contentCenterX, display.contentCenterY, display.actualContentWidth, display.actualContentHeight) rect:setFillColor(0) local text = display.newText({x=display.contentCenterX, y=display.contentCenterY, text="TAP TO LOSE", fontSize=80}) rect:addEventListener("tap", function(event) text.text = "YOU LOSE!" timer.performWithDelay(1000, function() text.text="TAP TO LOSE" end) end)
btw, could easily shave it down to 3 or 4 lines, if didn’t care much about readability
or even munge it all into a single obfuscated line, if didn’t care at all
but that seems to be about the practical limit - so far I haven’t been able to reduce it to zero lines

