Re:JavaScript Cold War simulation
by simonswain on Wednesday June 10, 2015 @04:24PM
(#9695061)
No frameworks or libs. Vanilla.js, raw Canvas and requestAnimationFrame. In this version, they are symmetric with slight random variations. No reason they have to be though.
[ Parent
| on HN ]
Re:JavaScript Cold War simulation
by hermitcrab on Thursday June 11, 2015 @04:09AM
(#9698352)
What sort of IDE/debugger did you use (if there is such a thing for Javascript)?
How long did it take to write and debug?
Looking forward to v0.2!
Re:JavaScript Cold War simulation
by simonswain on Thursday June 11, 2015 @07:03PM
(#9703015)
Emacs, and Chrome dev tools. The build environment has jslint set up in it too. I can't recommend enough js{lint|hint}ing all your code. None of the stuff in the sim is super tricky.