markcornwell / spacewar

Javascript implementation of 1962 game Spacewar! originally developed for the PDP-1
MIT License
0 stars 0 forks source link

Needs to be frame rate independent. #34

Open markcornwell opened 4 years ago

markcornwell commented 4 years ago

Right now our movement and updates are at the mercy of the frame refresh rate. Need to put in some explicit reading of the clock and measuring elapsed time to be independent of frame rate. See the discussion in this hackernoon link: https://hackernoon.com/how-to-build-a-multiplayer-browser-game-4a793818c29b