Live data from Hacker News

JavaScript Cold War simulation

simonswain.com

61–70 of 78 posts

Re: JavaScript Cold War simulation

#61

This is a hot war simulation, is it not?

Technically, yes. It's meant to escalate from cold to hot as munitions stockpiles build. But that doesn't make for a very interesting presentation, so it goes direct to Hot.

I think WWIII sim is probably a better description. Or could go with the 1985 War Games "Global Thermonuclear War". Just nitpicking. The simulation is awesome.

Re: JavaScript Cold War simulation

#62
post #38

Earlier quoted context omitted.

Try putting satalites up to '3', it's almost impossible for an ICBM to get through. Eventually just one did, but then even the volleys get stomped by the satalites. This game has been running for over 10 minutes at DEFCON 1 for me, the blueside managed to get the first city down but it's now a city each but yellow also lost 2 of their triangles (bases? factories?).

Bump up icbm_launch_max to maybe 15, and set stock_icbms to say 100 or so.

If my first game hasn't finished (It wasn't a complete stalemate yet but they have stocked up a lot of fighters and bombers) when I get home I'll try that! I find zero-player games fascinating, especially ones such as this.

Re: JavaScript Cold War simulation

#63
post #4

Yikes! 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.

One of the reasons why stealth technology was so important to Cold War tech.

Re: JavaScript Cold War simulation

#64
post #48

For "authorized" advice, see https://www.youtube.com/watch?v=q2v0YuDatpc (Declassified USAF training material, 1958), alternate source: https://archive.org/details/AirForceSpecialFilmProject416pow... (Amazing actors' performance included.)

This film is a very good use of one hour of your time if you have any interest in history and a high tolerance for mind-numbing terror.

[deleted]

Re: JavaScript Cold War simulation

#66

This was super fun to play with and the visuals are very cool! One minor thing though, the Star Wars program simulation seems too good: once you have around 5 sats going around you're safe for a long long time that it starts becoming boring (and I'm pretty sure it wouldn't be the case IRL). Like, I watched a game for 30min and all sats were too effective and nobody could really hit each other no matter how many attac…

> Maybe make sats attack each other while in orbit?

Just add ASAT. If they've got ICBM technology and especially if they've got ABMs, they can certainly knock a satellite out of orbit.

Re: JavaScript Cold War simulation

#68

For "authorized" advice, see https://www.youtube.com/watch?v=q2v0YuDatpc (Declassified USAF training material, 1958), alternate source: https://archive.org/details/AirForceSpecialFilmProject416pow... (Amazing actors' performance included.)

The Power of Decision is easily one of the most scary and disturbing films I have ever watched.

I always used to think that Doctor Strangelove was a really funny movie, but after this, it was a lot less funny somehow (still a great movie, though).

Re: JavaScript Cold War simulation

#69

Earlier quoted context omitted.

I once included this video in something similar (also relating to SAGE) as the help option, see this easter-egg: http://www.masswerk.at/google60/?q=list%20games (option 4) (Edit: Similar just intention-wise, else much simpler, since just in ASCII, meant to be EBCDIC.) BTW: "System Technology" (SDC, 1960) is also an impressive source in this context: https://www.youtube.com/watch?v=Yqu3YX2cLA8

Nice Easter Egg!

On "System Technology": See esp. at 17:00, ca., this is very similar to the view conveyed by your rendition (note the swarming aircrafts).

Re: JavaScript Cold War simulation

#70
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).

Post reply on HN