game loop
setInterval
requestAnimationFrame