WebGL-Tron
WebGL-Tron copied to clipboard
Fix clock speed
The current game clock speed is recklessly based on requestAnimationFrame
alone.
Results in the game speed going ludicrously fast on modern hardware.
Fixing it to an absolute rate will solve this + allow for proper multiplayer server logic.