Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
(defonce game-loop (start-game-loop))
(defn send-play-event! [e] (put! (game-loop :play-events) e))
(defn send-game-event! [e] (put! (game-loop :game-events) e))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment