MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / runLoop

Function runLoop

assets/js/gameOfLife_js/gameOfLife.js:133–136  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

131
132// loop to run and update the grid
133const runLoop = () => {
134 draw();
135 update();
136}
137
138//event listeners
139window.addEventListener("load", () => {

Callers 1

gameOfLife.jsFile · 0.85

Calls 2

drawFunction · 0.70
updateFunction · 0.70

Tested by

no test coverage detected