Skip to content

Instantly share code, notes, and snippets.

@aib aib/gist:3746298
Created Sep 18, 2012

Embed
What would you like to do?
(loop [last-tick-time (Sys/getTime)]
(let [current-time (Sys/getTime)
delta-seconds (- current-time last-tick-time)]
;tick game
(Display/update)
(if (not (should-quit?))
(recur current-time))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.