function love.keypressed(key, scan_code, is_repeat) if key == 'escape' then love.event.quit() end end