Just to pitch in with a Clojurescript/Quill example, where the game loop takes a function that takes game state, modifies it, and returns it for the next iteration of the game loop.
https://github.com/opyate/minild72/blob/master/src/pong/core...
https://github.com/opyate/minild72/blob/master/src/pong/core...
No comments yet.