JavaScript Cold War simulation
simonswain.com
JavaScript Cold War simulation
1–10 of 78 posts
Re: JavaScript Cold War simulation
#2Re: JavaScript Cold War simulation
#3Re: JavaScript Cold War simulation
#4This makes fighter jets a critical buffer because the only way a defense can prevent mutually assured destruction is to prevent non-ICBM first strikes.
Re: JavaScript Cold War simulation
#5Re: JavaScript Cold War simulation
#6Re: JavaScript Cold War simulation
#7Yikes! Is this realistic? There seems to be a doctrine that ICBMs will only be launched upon receiving a complete nuclear strike, and once that happens it's pretty much game over. This makes fighter jets a critical buffer because the only way a defense can prevent mutually assured destruction is to prevent non-ICBM first strikes.
When one of a nation's assets (factory, base, city), they go to Defcon 1.
If your enemy goes to Defcon 1, so do you.
At Defcon 1, all ICBMs will fire.
Bases are limited to how many the can have in the air at a given time.
Not realistic really, but never let the truth get in the way of a good yarn...
Re: JavaScript Cold War simulation
#8This was a presentation at JSConf US 2 weeks ago. I'm sure everyone will enjoy it much more with the video once it winds up online.
Re: JavaScript Cold War simulation
#9Can you give an explanation about what each type of unit does?
Each of the circle structures is a nation state.
It has a capital at the center (square, blinking). Defcon is the number in the capital.
Cities (circles) send people to work at factories.
Factories (triangles) make munitions and send them to bases
Bases (square) stockpile munitions (counts, clockwise from top right: icbms, abms (anti ballistic missiles), fighters and bombers.
Bombers are big and slow (triangles) that select a target (factory, base, city, capital in that order), fly to it and nuke it, reselecting a target if somebody else destroys it first.
As defence perimeters are penetrated, defcon gets more scary.
Fighters launch at Defcon 4 and attempt to destroy bombers.
At Defcon 3, Bases launch ICBMs a low probability amount of the time.
Satellites launch at Defcon 2, and can shoot ICBMs out of the sky, but have fire/recharge lasers.
When one of a nation's assets (factory, base, city) is nuked, they go to Defcon 1.
If your enemy goes to Defcon 1, so do you.
At Defcon 1, all ICBMs will fire.
When your capital is destroyed, it's Game Over.
The control panel lets you tweak the starting parameters. There are a lot more controls for all the actors (e.g, how close do bombers flock.) than are not exposed here.
Re: JavaScript Cold War simulation
#10This was a presentation at JSConf US 2 weeks ago. I'm sure everyone will enjoy it much more with the video once it winds up online.
It wss a fun talk. My only regret is that Simon didn't use an [apropos quote]( http://www.imdb.com/title/tt0086567/quotes?item=qt0453844 ) during the talk.