Skip to content

Instantly share code, notes, and snippets.

@cyan33
Created December 6, 2017 21:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cyan33/c99b0dd9576615ae2e48ec840a7c577a to your computer and use it in GitHub Desktop.
Save cyan33/c99b0dd9576615ae2e48ec840a7c577a to your computer and use it in GitHub Desktop.
gameloop flow
setInterval(function gameloop() {
update();
render();
}, 30);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment