Created
April 22, 2022 14:45
-
-
Save garyanikin/21b6a2034abd2b662e71a36f4e3f6cd2 to your computer and use it in GitHub Desktop.
Game module
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const FPS = 60; | |
function setup() { | |
} | |
function loop() { | |
} | |
setup(); | |
setInterval(loop, 1000 / FPS); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment