News for hackers. Stuff that matters.
Re:JavaScript Cold War simulation by hermitcrab on Wednesday June 10, 2015 @01:09PM (#9693697)
Very impressive. As a crusty old desktop programmer I am amazed how smoothly it runs in the browser. A few questions (didn't see them answered below):

1. What Javascript frameworks/libraries did you use (if any)? 2. Do the 2 sides always have to be symmetric?

It would be great if you could add some brief notes explaining what is going on (even if you just copy and paste some of the below).

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.
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.
Re:JavaScript Cold War simulation by jjar on Wednesday June 10, 2015 @01:27PM (#9693829)
It was definitely something compiled to JavaScript, I can tell you that.

https://simonswain.com/coldwar/assets/pub-script-14324351717...

Re:JavaScript Cold War simulation by vabole on Wednesday June 10, 2015 @04:27PM (#9695096)
That's plain JavaScript, only minified.