JavaScript Cold War simulation
71–78 of 78 posts
Re: JavaScript Cold War simulation
#72Very 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).
https://simonswain.com/coldwar/assets/pub-script-14324351717...
Re: JavaScript Cold War simulation
#73Very 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).
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
#74Re: JavaScript Cold War simulation
#75Very 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
#76Very 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).
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
#77Very 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).
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.
How long did it take to write and debug?
Looking forward to v0.2!
Re: JavaScript Cold War simulation
#78Earlier quoted context omitted.
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.
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!