(local corridor (require :src.corridor)) (local fennel (require :vendor.fennel)) (local state {}) (fn theload [] (set state.font (love.graphics.newFont :assets/APL333.ttf 72)) (set state.cur-room (corridor.make state))) (fn update [dt] (state.cur-room.update dt)) (fn draw [...] (local b [...]) (print (fennel.view b)) (state.cur-room.draw)) {:load theload : update : draw}