Write the signatures and stubs for three handlers: tick updates a WorldState every clock tick, draw renders a WorldState as an Image, and handle-key consumes a WorldState and KeyEvent and produces a WorldState.
Short answerAccepted answer
; WorldState -> WorldState
(define (tick ws) ws)
; WorldState -> Image
(define (draw ws) empty-image)
; WorldState KeyEvent -> WorldState
(define (handle-key ws ke) ws)